From: Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
To: Tim Hesterberg <timh@insightful.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: bibtex-clean-entry indents badly when splitting long lines
Date: Thu, 23 Aug 2007 19:01:31 +0200 [thread overview]
Message-ID: <m3zm0inq1g.fsf@tfkp07.physik.uni-erlangen.de> (raw)
In-Reply-To: <mailman.5160.1187826082.32220.bug-gnu-emacs@gnu.org> (Tim Hesterberg's message of "Wed\, 22 Aug 2007 16\:39\:17 -0700")
Tim Hesterberg <timh@insightful.com> writes:
> In emacs 22.1 the continuation line is indented incorrectly:
>
> @Article{turl00,
> author = {author},
> title = {This is a long title that is more than one line long
> and should be split into multiple lines},
> journal = {journal},
> year = {year}
> }
>
> My .emacs includes:
> (setq bibtex-include-OPTcrossref nil)
> (setq bibtex-include-OPTkey nil)
> (setq bibtex-maintain-sorted-entries t)
> (setq bibtex-text-indentation 16)
I cannot reproduce that.
Both in emacs 21.3 and 22.1 filling of fields is done only if
bibtex-entry-format includes also the option realign, i.e., you need
a line like the folliwng in your .emacs
(setq bibtex-entry-format '(opts-or-alts numerical-fields realign))
When I do that, I get the same filling you got with emacs 21.3.
Have you tried to reproduce the unintended behavior with
"emacs --no-init-file" and evaluating the above BibTeX settings in
the *scratch* buffer? As you noticed, the real work of filling is
now done by fill-region-as-paragraph, whereas emacs 21.3 used
do-auto-fill. Maybe you have some personal customizations that affect
the behavior of these general functions.
Roland
next parent reply other threads:[~2007-08-23 17:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.5160.1187826082.32220.bug-gnu-emacs@gnu.org>
2007-08-23 17:01 ` Roland Winkler [this message]
2007-08-24 15:22 ` bibtex-clean-entry indents badly when splitting long lines Tim Hesterberg
2007-08-22 23:39 Tim Hesterberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3zm0inq1g.fsf@tfkp07.physik.uni-erlangen.de \
--to=roland.winkler@physik.uni-erlangen.de \
--cc=bug-gnu-emacs@gnu.org \
--cc=timh@insightful.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).