[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 8ee21db4af: Add new function `read-string-from-buffer'.
From: |
Jean Louis |
Subject: |
Re: master 8ee21db4af: Add new function `read-string-from-buffer'. |
Date: |
Fri, 29 Apr 2022 12:44:41 +0300 |
User-agent: |
Mutt/2.2.0 (2022-02-12) |
I am using similar function all the time.
(defun read-from-buffer (&optional value buffer-name mode title keymap place
highlight-list minor-modes)
I suggest you implement some of these features:
- I like to designate offen the buffer-name, it becomes more
descriptive
- Some text is in different modes, some strings are in html-mode, some
are in markdown-mode, some in asciidoc mode, some are SQL mode, and
so on;
- I may need to pass keymap to function
- I pass some minor-modes when necessary
PLACE is something related to database, like database, column, ID,
when I edit database objects, it is not related and not necessary to
this general function
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/