* inconsistent parsing functions in bibtex-mode
@ 2018-05-30 18:46 Roland Winkler
2018-05-30 19:35 ` Stefan Monnier
0 siblings, 1 reply; 4+ messages in thread
From: Roland Winkler @ 2018-05-30 18:46 UTC (permalink / raw)
To: emacs-devel
Unexpectedly I was hit again by an old problem with bibtex-mode:
This mode defines functions bibtex-beginning-of-entry and
bibtex-end-of-entry which are *similar* to beginning-of-defun and
end-of-defun. However: repeated calls of these functions do not
move point beyond the current BibTeX entry. So, while it would be
nice in bibtex-mode to bind beginning-of-defun-function and
end-of-defun-function to these bibtex-mode functions, this won't
work at the moment.
Hence my question: how to deal with this? I guess the options are:
(1) Keep the behavior of these functions the way they are.
(2) Align the behavior of these functions with what other modes do.
I want to check here before possibly investing more time into option
(2). I doubt that many people use these commands interactively in a
way that changing their behavior would disturb their work flow. I
expect that (if at all) this may affect people who have somehow
customized bibtex-mode for their needs. But it's hard to predict
details.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: inconsistent parsing functions in bibtex-mode
2018-05-30 18:46 inconsistent parsing functions in bibtex-mode Roland Winkler
@ 2018-05-30 19:35 ` Stefan Monnier
2018-08-07 17:57 ` Basil L. Contovounesios
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2018-05-30 19:35 UTC (permalink / raw)
To: emacs-devel
> Hence my question: how to deal with this? I guess the options are:
> (1) Keep the behavior of these functions the way they are.
> (2) Align the behavior of these functions with what other modes do.
(3) Keep these *commands* (maybe marking them as obsolete) and add new
*functions* to use in beginning-of-defun-function and
end-of-defun-function
-- Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: inconsistent parsing functions in bibtex-mode
2018-05-30 19:35 ` Stefan Monnier
@ 2018-08-07 17:57 ` Basil L. Contovounesios
2018-08-08 2:33 ` Roland Winkler
0 siblings, 1 reply; 4+ messages in thread
From: Basil L. Contovounesios @ 2018-08-07 17:57 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Roland Winkler, emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Hence my question: how to deal with this? I guess the options are:
>> (1) Keep the behavior of these functions the way they are.
>> (2) Align the behavior of these functions with what other modes do.
>
> (3) Keep these *commands* (maybe marking them as obsolete) and add new
> *functions* to use in beginning-of-defun-function and
> end-of-defun-function
FYI bug#32378 proposes a patch touching this area of bibtex.el.
https://debbugs.gnu.org/32378
--
Basil
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: inconsistent parsing functions in bibtex-mode
2018-08-07 17:57 ` Basil L. Contovounesios
@ 2018-08-08 2:33 ` Roland Winkler
0 siblings, 0 replies; 4+ messages in thread
From: Roland Winkler @ 2018-08-08 2:33 UTC (permalink / raw)
To: Basil L. Contovounesios; +Cc: emacs-devel
On Tue Aug 7 2018 Basil L. Contovounesios wrote:
> > (3) Keep these *commands* (maybe marking them as obsolete) and add new
> > *functions* to use in beginning-of-defun-function and
> > end-of-defun-function
>
> FYI bug#32378 proposes a patch touching this area of bibtex.el.
>
> https://debbugs.gnu.org/32378
Thanks, I'll look at this.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-08-08 2:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-30 18:46 inconsistent parsing functions in bibtex-mode Roland Winkler
2018-05-30 19:35 ` Stefan Monnier
2018-08-07 17:57 ` Basil L. Contovounesios
2018-08-08 2:33 ` Roland Winkler
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.