unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Changes to comint-line-beginning-position
@ 2015-10-28 18:12 Stefan Monnier
  2015-10-29  0:05 ` Juri Linkov
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2015-10-28 18:12 UTC (permalink / raw)
  To: Juri Linkov; +Cc: emacs-devel

Your changes to comint-line-beginning-position (back in Feb) have broken
indentation in IELM:

   IELM> (foo
   bar

where hitting TAB with point in from of "bar" should indent it (and used
to indent it), but it doesn't any more.

It's because IELM uses (save-excursion (comint-bol) (bolp)) to check if
we want to indent, but now (comint-bol) doesn't just jump to the
beginning of the second line but all the way to the end of the prompt.

Could you try and fix it?


        Stefan



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-30 13:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-28 18:12 Changes to comint-line-beginning-position Stefan Monnier
2015-10-29  0:05 ` Juri Linkov
2015-10-30 13:19   ` Stefan Monnier

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).