unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 17801@debbugs.gnu.org
Subject: bug#17801: 24.3.91; Regression: Texinfo Mode inserts newline after markup
Date: Thu, 19 Jun 2014 17:54:58 +0300	[thread overview]
Message-ID: <834mzht0e5.fsf@gnu.org> (raw)
In-Reply-To: <jwvd2e51roa.fsf-monnier+emacsbugs@gnu.org>

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: 17801@debbugs.gnu.org
> Date: Wed, 18 Jun 2014 23:54:42 -0400
> 
> > I couldn't find a clear-cut way to fix this.  Setting
> > skeleton-end-newline to nil doesn't sound right,
> 
> I think it's the right solution, tho.
> 
> > I also couldn't find any way of telling a skeleton not to insert a
> > newline; did I miss something?
> 
> Indeed, there isn't any.  But really skeleton shouldn't insert a newline
> by default (since it offers no way for individual skeletons to override
> it).  Instead, each skeleton that needs it should end with a \n.

But this will probably cause massive breakage in users of skeleton.
So it might be appropriate for the trunk, but not for the emacs-24
branch.

For the branch, is it OK to make skeleton-end-newline buffer-local in
Texinfo buffers, and then give it a nil value?





  reply	other threads:[~2014-06-19 14:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-18 14:57 bug#17801: 24.3.91; Regression: Texinfo Mode inserts newline after markup Eli Zaretskii
2014-06-19  3:54 ` Stefan Monnier
2014-06-19 14:54   ` Eli Zaretskii [this message]
2014-06-19 15:44     ` Stefan Monnier
2014-06-20  8:54       ` Eli Zaretskii
2014-06-20 13:19         ` Stefan Monnier

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=834mzht0e5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=17801@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).