Path: utzoo!attcan!utgpu!radio.astro!brian From: brian@radio.astro.utoronto.ca (Brian Glendenning) Newsgroups: comp.emacs Subject: More indenting (was "Two EMACS Questions") Message-ID: Date: 6 Sep 89 22:33:33 GMT References: <574@ajpo.sei.cmu.edu> <37636@bu-cs.BU.EDU> Sender: brian@radio.astro.utoronto.ca (Brian Glendenning) Organization: Radio Astronomy, Univeristy of Toronto Lines: 31 In-reply-to: jbw@bucsf.bu.edu's message of 6 Sep 89 19:44:22 GMT I use bibtex mode to prepare bibliography entries. When you enter them by hand all is well, lines get filled and indented the way you would want them to: @Book{, author = "Foo Bar", title = "Really Long Entries Get Formatted Nicely - But Only If You Type Them In By Hand", publisher = "FuBar", year = "1999", } (Emacs starts out by giving you entries like: author = "", and you type between the "'s). Sometimes, however, rather than typing them in by hand you construct them from some other source, e.g. the output of a database search. That is, the text from some file is systematically inserted between the ""'s, typically by using a keyboard macro using C-y (yank). My question is: is there any straightforward way to get entries generated this way formatted nicely like the ones you enter by hand? Thanks. -- Brian Glendenning - Radio astronomy, University of Toronto brian@radio.astro.utoronto.ca uunet!utai!radio!brian glendenn@utorphys.bitnet -- Brian Glendenning - Radio astronomy, University of Toronto brian@radio.astro.utoronto.ca uunet!utai!radio!brian glendenn@utorphys.bitnet