unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19093: Problem with whitespaces during copy paste in text-mode
@ 2014-11-18 11:20 Petr Hracek
  2014-11-18 15:56 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Petr Hracek @ 2014-11-18 11:20 UTC (permalink / raw)
  To: 19093

Hi emacs developers,

Do you have any patch for this issue?
https://bugzilla.redhat.com/show_bug.cgi?id=1161786

I am able to reproduce the problem too.

Emacs was started with -nw command line option.

Greetings

-- 
Best regards / S pozdravem
Petr Hracek






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

* bug#19093: Problem with whitespaces during copy paste in text-mode
  2014-11-18 11:20 bug#19093: Problem with whitespaces during copy paste in text-mode Petr Hracek
@ 2014-11-18 15:56 ` Eli Zaretskii
  2014-11-18 17:29   ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2014-11-18 15:56 UTC (permalink / raw)
  To: Petr Hracek; +Cc: 19093

> Date: Tue, 18 Nov 2014 12:20:20 +0100
> From: Petr Hracek <phracek@redhat.com>
> 
> Do you have any patch for this issue?
> https://bugzilla.redhat.com/show_bug.cgi?id=1161786
> 
> I am able to reproduce the problem too.
> 
> Emacs was started with -nw command line option.

It's a feature.  If you don't like it, turn off electric-indent-mode.

(Remember: there's no "paste" in -nw sessions; no matter what your
terminal emulator does to support it, what Emacs sees is the
characters as if they were typed on the keyboard.  Now type "C-h l"
after pasting, then type by hand the same characters, and you will see
why this happens.)





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

* bug#19093: Problem with whitespaces during copy paste in text-mode
  2014-11-18 15:56 ` Eli Zaretskii
@ 2014-11-18 17:29   ` Stefan Monnier
  2014-11-18 17:44     ` Eli Zaretskii
  2014-11-18 18:21     ` Mark Oteiza
  0 siblings, 2 replies; 6+ messages in thread
From: Stefan Monnier @ 2014-11-18 17:29 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 19093

>> Emacs was started with -nw command line option.
> It's a feature.  If you don't like it, turn off electric-indent-mode.
> (Remember: there's no "paste" in -nw sessions; no matter what your

Actually, there is "paste" in -nw sessions and we do support it since
Emacs-24.4 (tho it depends on the underlying terminal to support it, of
course).

So please, give us details about the exact terminal emulator in use, and
the exact way you "copy and paste".


        Stefan





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

* bug#19093: Problem with whitespaces during copy paste in text-mode
  2014-11-18 17:29   ` Stefan Monnier
@ 2014-11-18 17:44     ` Eli Zaretskii
  2014-11-18 18:21     ` Mark Oteiza
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2014-11-18 17:44 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 19093

> From: Stefan Monnier <monnier@IRO.UMontreal.CA>
> Cc: Petr Hracek <phracek@redhat.com>, 19093@debbugs.gnu.org
> Date: Tue, 18 Nov 2014 12:29:46 -0500
> 
> >> Emacs was started with -nw command line option.
> > It's a feature.  If you don't like it, turn off electric-indent-mode.
> > (Remember: there's no "paste" in -nw sessions; no matter what your
> 
> Actually, there is "paste" in -nw sessions and we do support it since
> Emacs-24.4 (tho it depends on the underlying terminal to support it, of
> course).

Irrelevant: where we do have paste, the above-mentioned problem won't
happen.





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

* bug#19093: Problem with whitespaces during copy paste in text-mode
  2014-11-18 17:29   ` Stefan Monnier
  2014-11-18 17:44     ` Eli Zaretskii
@ 2014-11-18 18:21     ` Mark Oteiza
  2014-11-18 20:28       ` Stefan Monnier
  1 sibling, 1 reply; 6+ messages in thread
From: Mark Oteiza @ 2014-11-18 18:21 UTC (permalink / raw)
  To: 19093

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

>>> Emacs was started with -nw command line option.
>> It's a feature.  If you don't like it, turn off electric-indent-mode.
>> (Remember: there's no "paste" in -nw sessions; no matter what your
>
> Actually, there is "paste" in -nw sessions and we do support it since
> Emacs-24.4 (tho it depends on the underlying terminal to support it, of
> course).

Which -nw "paste" is that?

The only one I'm familiar with is bracketed paste--not present in 24.4.

Quoting <http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=bfc3079>:

    Emacs now supports "bracketed paste mode" when running on a terminal
    that supports it. This facility allows Emacs to understand pasted
    chunks of text as strings to be inserted instead of interpreting each
    character in the pasted text as actual user input, resulting in a
    paste experience similar to that under a window system and significant
    performance improvements when pasting large amounts of text.





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

* bug#19093: Problem with whitespaces during copy paste in text-mode
  2014-11-18 18:21     ` Mark Oteiza
@ 2014-11-18 20:28       ` Stefan Monnier
  0 siblings, 0 replies; 6+ messages in thread
From: Stefan Monnier @ 2014-11-18 20:28 UTC (permalink / raw)
  To: Mark Oteiza; +Cc: 19093

> The only one I'm familiar with is bracketed paste--not present in 24.4.

Duh, you're right, it didn't make it for 24.4.  Thanks for being alert.

Petr, you might like to try the (unreleased) Emacs-25 code, which should
fix your problem.


        Stefan





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

end of thread, other threads:[~2014-11-18 20:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-18 11:20 bug#19093: Problem with whitespaces during copy paste in text-mode Petr Hracek
2014-11-18 15:56 ` Eli Zaretskii
2014-11-18 17:29   ` Stefan Monnier
2014-11-18 17:44     ` Eli Zaretskii
2014-11-18 18:21     ` Mark Oteiza
2014-11-18 20:28       ` 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).