all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: hector <hectorlahoz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Ctrl-c { behaviour changed in tex mode]
Date: Tue, 4 Apr 2017 12:35:58 +0200	[thread overview]
Message-ID: <20170404103558.GB11945@workstation> (raw)

On Mon, Apr 03, 2017 at 11:07:33PM +0000, Amadeus W.M. wrote:
> In tex mode Ctrl-c { used to put a pair of {} around the cursor, making 
> it ready to write in between the braces. 
> 
> After a recent update, Ctrl-c { still introduces a pair of {} but if 
> inside that I do another Ctrl-c { then it introduces a newline too, like 
> this:
> 
> \sqrt{\hat{}
>   }
> 
> i.e. the outer most closing brace goes on to the next line. That's very 
> annoying. Where do I customize Ctrl-c back to how it used to be? 

I don't know because I'm using an old version. The great thing about Emacs
is that if you can't customize it using variables, you can always go to
the source.

Since my version is old I'm just guessing.

I see that it runs the command tex-insert-braces. Try that command
with M-x tex-insert-braces in case the binding has been changed.

You can see the definition with "C-hf" (describe-function) and visit
the source.



             reply	other threads:[~2017-04-04 10:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-04 10:35 hector [this message]
2017-04-04 13:34 ` Ctrl-c { behaviour changed in tex mode] Amadeus W.M.
2017-04-04 14:56   ` B.V. Raghav

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=20170404103558.GB11945@workstation \
    --to=hectorlahoz@gmail.com \
    --cc=help-gnu-emacs@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.