GNU bug report logs -
#22564
Fundamental mode isn't fundamental enough.
Previous Next
Reported by: Alan Mackenzie <acm <at> muc.de>
Date: Fri, 5 Feb 2016 12:54:02 UTC
Severity: minor
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Mark Oteiza writes:
>> What is "bracketed paste"? The term appears only in xterm.el, but that
>> file doesn't say what it is.
>
> It's in NEWS as well. Paraphrasing: it means Emacs understands a chunk of
> text that is "bracketed" (surrounded) by escape characters as a string
> to be inserted, instead of interpreting each character in the pasted
> text as actual user input.
That entry does absolutely nothing to explain what "bracketed paste
mode" actually is or how it can be used in Emacs. A cursory search
leads me to believe that this is something that some terminal emulators
optionally can do and is switched off by default even then. In other
words, it is completely useless if you're not using one of those
terminal emulators that do support it or on those that do and have it
switched off.
The list of instances where bracketed paste mode isn't available
includes the GUI Emacs frame apparently, so it really shouldn't be
peddled as a solution for the mess that electric indent produces in many
modes when you're pasting stuff in (in my case most often via the middle
mouse button). It works by pre- and post-fixing anything pasted into
the terminal by an escape sequence, so maybe there is a way to emulate
it somehow for GUIĀ frames, but if there is, I can't find an explanation
of how to turn that feature on and off.
Another prominent example where electric indent shouldn't be active by
default is diff-mode, btw. Even if I would agree to the general default
of having it on -- I don't, because the cleanup it requires when going
wrong is more tedious than what it saves me otherwise -- that should be
reason enough to provide some way of temporarily switching it off for
operations where you already know it won't work. Since you often
realize too late that it will interfere, it would be even more helpful
if you could have some function that removes any indent that was
electrically added.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
This bug report was last modified 3 years and 93 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.