unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: 22564@debbugs.gnu.org
Subject: bug#22564: Fundamental mode isn't fundamental enough.
Date: Sat, 06 Feb 2016 17:59:04 +0100	[thread overview]
Message-ID: <878u2xrd0n.fsf@Rainer.invalid> (raw)
In-Reply-To: <20160205125559.GC7727@acm.fritz.box>

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






  parent reply	other threads:[~2016-02-06 16:59 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-05 12:55 bug#22564: Fundamental mode isn't fundamental enough Alan Mackenzie
2016-02-05 14:46 ` Eli Zaretskii
2016-02-05 15:13   ` Alan Mackenzie
2016-02-05 15:34     ` Mark Oteiza
2016-02-05 15:38       ` Drew Adams
2016-02-05 17:57         ` Marcin Borkowski
2016-02-05 19:59           ` Drew Adams
2016-02-05 19:26     ` Eli Zaretskii
2016-02-05 20:18       ` Marcin Borkowski
2016-02-06 19:48     ` Richard Stallman
2016-02-05 20:23 ` Glenn Morris
2016-02-05 21:43   ` Glenn Morris
2016-02-05 21:53   ` Alan Mackenzie
2016-02-17  2:50     ` John Wiegley
2022-04-27 14:39       ` Lars Ingebrigtsen
2022-05-01  1:53         ` Richard Stallman
2022-05-01  6:16           ` Eli Zaretskii
2022-05-02 23:47             ` Richard Stallman
2022-05-03  7:03               ` Andreas Röhler
2022-05-03 14:28                 ` Drew Adams
2022-05-03 17:00               ` Eli Zaretskii
2022-05-04 22:49                 ` Richard Stallman
2022-05-05  5:43                   ` Eli Zaretskii
2022-05-05 11:02                     ` Andreas Röhler
2022-05-05 16:17                       ` Eli Zaretskii
2022-05-05 18:34                         ` Andreas Röhler
2022-05-06 23:20                     ` Richard Stallman
2022-05-07  6:30                       ` Eli Zaretskii
2022-05-07 23:08                         ` Richard Stallman
     [not found] ` <mailman.3748.1454702408.843.bug-gnu-emacs@gnu.org>
2016-02-06 11:06   ` Alan Mackenzie
2016-02-07 18:33     ` Richard Stallman
     [not found] ` <mailman.3712.1454686507.843.bug-gnu-emacs@gnu.org>
2016-02-06 11:21   ` Alan Mackenzie
2016-02-06 14:36     ` Mark Oteiza
2016-02-06 16:59 ` Achim Gratz [this message]
2016-02-07 19:09   ` Eli Zaretskii
2016-02-07 21:02 ` Achim Gratz
2016-02-07 21:08   ` Eli Zaretskii
2016-02-08 19:39 ` Achim Gratz
2016-02-08 20:05   ` Eli Zaretskii
2016-02-08 20:18 ` Achim Gratz
2016-02-08 20:53   ` Eli Zaretskii
2016-02-08 21:01 ` Achim Gratz
2016-02-09  3:31   ` Eli Zaretskii
     [not found] <<20160205125559.GC7727@acm.fritz.box>
     [not found] ` <<834mdnusem.fsf@gnu.org>
2016-02-05 15:36   ` Drew Adams
     [not found] <<mailman.3748.1454702408.843.bug-gnu-emacs@gnu.org>
     [not found] ` <<20160206110601.6095.qmail@mail.muc.de>
2016-02-06 15:57   ` Drew Adams
     [not found]   ` <<E1aSU9T-0002aS-5O@fencepost.gnu.org>
2016-02-07 19:43     ` Drew Adams

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=878u2xrd0n.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=22564@debbugs.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 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).