all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Karl Chen <Karl.Chen@quarl.org>
To: Emacs Developement List <emacs-devel@gnu.org>
Subject: abbrev output missing newline
Date: Mon, 03 Aug 2009 18:14:17 -0400	[thread overview]
Message-ID: <quack.20090803T1814.87eirsa6km@honk.quarl.org> (raw)


In Emacs 23.1, in my .abbrev_defs, I'm getting a missing newline
between the "define-abbrev-table" line and the first abbrev:

    (define-abbrev-table 'global-abbrev-table '(    ("aagain" "again" nil 0)
        ("aaginst" "against" nil 0)
        ("abberviate" "abbreviate" nil 0)

This patch works for me.


--- abbrev.el	2009-08-03 18:05:51.805815015 -0400
+++ abbrev.el	2009-08-03 18:05:51.799490826 -0400
@@ -887,7 +887,7 @@
 	    (insert "\n\n"))
 	(insert "(define-abbrev-table '")
 	(prin1 name)
-	(insert " '(")
+	(insert " '(\n")
 	(mapc 'abbrev--write symbols)
 	(insert "    ))\n\n"))
       nil)))





             reply	other threads:[~2009-08-03 22:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-03 22:14 Karl Chen [this message]
2009-08-04 20:06 ` abbrev output missing newline Chong Yidong

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=quack.20090803T1814.87eirsa6km@honk.quarl.org \
    --to=karl.chen@quarl.org \
    --cc=emacs-devel@gnu.org \
    /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 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.