unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2449: 23.0.90; Disabling transient-mark-mode doesn't work well in ansi-term
@ 2009-03-06  7:00 Xavier Maillard
  0 siblings, 0 replies; 10+ messages in thread
From: Xavier Maillard @ 2009-03-06  7:00 UTC (permalink / raw)
  To: Matthieu Moy, 2449; +Cc: emacs-pretest-bug

Hi,

I could reproduce it here too (accidentaly) and it was confirmed
with emacs -Q.

Regards

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org






^ permalink raw reply	[flat|nested] 10+ messages in thread
* bug#2449: 23.0.90; Disabling transient-mark-mode doesn't work well in ansi-term
@ 2009-03-07  4:18 Chong Yidong
  2009-03-07  4:24 ` Dan Nicolaescu
  0 siblings, 1 reply; 10+ messages in thread
From: Chong Yidong @ 2009-03-07  4:18 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: 2449, Matthieu Moy

> M-x transient-mark-mode RET (to disable it)
> M-x ansi-term RET RET
> ls (at the shell prompt)
> select text in the *ansi-term* buffer with the mouse.
> ls
>
> Expected behavior: the selection disapears.
>
> Obtained behavior: the selection follows the cursor, at the prompt.

I think term-send-raw should deactivate the mark.  Dan, what do you
think?

*** trunk/lisp/term.el.~1.112.~	2009-02-19 20:32:53.000000000 -0500
--- trunk/lisp/term.el	2009-03-06 23:14:00.000000000 -0500
***************
*** 1182,1187 ****
--- 1182,1188 ----
    "Send the last character typed through the terminal-emulator
  without any interpretation."
    (interactive)
+   (deactivate-mark)
   ;; Convert `return' to C-m, etc.
    (when (and (symbolp last-input-event)
  	     (get last-input-event 'ascii-character))

Diff finished.  Fri Mar  6 23:14:01 2009






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

end of thread, other threads:[~2009-03-08 19:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87prgrollr.fsf@cyd.mit.edu>
2009-02-23 17:01 ` bug#2449: 23.0.90; Disabling transient-mark-mode doesn't work well in ansi-term Matthieu Moy
2009-03-08 19:40   ` bug#2449: marked as done (23.0.90; Disabling transient-mark-mode doesn't work well in ansi-term) Emacs bug Tracking System
2009-03-06  7:00 bug#2449: 23.0.90; Disabling transient-mark-mode doesn't work well in ansi-term Xavier Maillard
  -- strict thread matches above, loose matches on Subject: below --
2009-03-07  4:18 Chong Yidong
2009-03-07  4:24 ` Dan Nicolaescu
2009-03-08 16:03   ` Chong Yidong
2009-03-08 17:29     ` Matthieu Moy
2009-03-08 18:36     ` Dan Nicolaescu
2009-03-08 18:53       ` Chong Yidong
2009-03-08 19:14         ` Dan Nicolaescu

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