Re: BibTeX-mode: bibtex-user-optional-fields: INIT without {}

2007-04-15 Thread Richard Stallman
Please install your patch. ___ emacs-pretest-bug mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Re: BibTeX-mode: bibtex-user-optional-fields: INIT without {}

2007-04-15 Thread Roland Winkler
On Sat Apr 14 2007 Glenn Morris wrote: > > + (unless (string-match "\\`\\({.*}\\|\".*\"\\)\\'" init) > > +(setq init (concat (bibtex-field-left-delimiter) init > > + (bibtex-field-right-delimiter) > > What about the (unlikely?) cases like: > > author = {

Re: BibTeX-mode: bibtex-user-optional-fields: INIT without {}

2007-04-14 Thread Glenn Morris
"Roland Winkler" wrote: > The following patch appears much clearer to me. [...] > Should I check it in? Entirely up to you. I installed mine, but feel free to revert it. > + (unless (string-match "\\`\\({.*}\\|\".*\"\\)\\'" init) > +(setq init (concat (bibtex-field-left-delimiter) i

Re: BibTeX-mode: bibtex-user-optional-fields: INIT without {}

2007-04-14 Thread Roland Winkler
Glenn Morris wrote > Christian Schlauer wrote: > > So the curly braces are missing. > I think this patch fixes it. The following patch appears much clearer to me. Also, it handles properly the case that INIT can be a lambda expression. Finally, the first part fixes an old bug in the handling of bi

Re: BibTeX-mode: bibtex-user-optional-fields: INIT without {}

2007-04-12 Thread Glenn Morris
Christian Schlauer wrote: > So the curly braces are missing. I think this patch fixes it. *** bibtex.el 21 Jan 2007 13:45:48 - 1.124 --- bibtex.el 12 Apr 2007 22:49:20 - *** *** 1785,1791 (set-mark (point)) (message "Mark set")

BibTeX-mode: bibtex-user-optional-fields: INIT without {}

2007-04-12 Thread Christian Schlauer
Hello! It is possible to define additional fields for BibTeX entries. This is done with the variable `bibtex-user-optional-fields': ,[ From C-h v bibtex-user-optional-fields RET ] | Documentation: | List of optional fields the user wants to have always present. | Entries should be of the same