all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* help to change emacs defaults
@ 2010-12-02 19:16 Jason Mancini
  2010-12-03 18:28 ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Mancini @ 2010-12-02 19:16 UTC (permalink / raw
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]


Hi,
There is a particular default which I can't figure out how to change, and it's causing me to spuriously paste code, and chewing time finding these accidental pastes.

How do I stop the following:
Every time the right scroll bar is used with the middle mouse button, it pastes wherever the cursor happens to be when the mouse is finally released.  To be clear, I am not middle-clicking in the editing area!
GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.0) from latest stock Kubuntu.  Browse Customization Groups -> Editing -> Mouse -> ...?

Also, how do I permanently disable "Active Region Highlighting"?  (Select, scroll, paste is impossible when enabled.)  I disabled it, saved options, and restarted, but sometimes new buffers re-enable ARH.  I can see '(transient-mark-mode) nil in .emacs config file already.

Thanks!
Jason Mancini



 		 	   		  

[-- Attachment #2: Type: text/html, Size: 1142 bytes --]

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

* RE: help to change emacs defaults
  2010-12-02 19:16 help to change emacs defaults Jason Mancini
@ 2010-12-03 18:28 ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2010-12-03 18:28 UTC (permalink / raw
  To: 'Jason Mancini', help-gnu-emacs

> How do I stop the following:
> Every time the right scroll bar is used with the middle mouse
> button, it pastes wherever the cursor happens to be when the
> mouse is finally released.  To be clear, I am not middle-clicking
> in the editing area!

Sounds like a bug.  `M-x report-emacs-bug RET'.

(I assume your Emacs is compiled with GTK+ support on X Window.  Otherwise,
`mouse-2' should do nothing on the scroll bar, AFAIK.)
	
> Also, how do I permanently disable "Active Region Highlighting"?
> (Select, scroll, paste is impossible when enabled.)

That last part makes it sound like the only reason you want to do this is
because of the bug mentioned above.

> I disabled it, saved options, and restarted, but sometimes
> new buffers re-enable ARH.  I can see '(transient-mark-mode)
> nil in .emacs config file already.

Maybe the modes of those new buffers impose transient-mark mode?  Have you
checked the (local) value of variable `transient-mark-mode' in those buffers
(use C-h v)?

If not, consider filing a separate bug for this.  You should be able to use the
Options menu to turn off t-m mode and then use it to save your changes, and
those changes should be respected in new Emacs sessions.  When you file a bug,
give a step-by-step recipe to reproduce it, starting from emacs -Q.

(It's important to start from emacs -Q.  Otherwise, there might well be
something else from your .emacs or something it loads that is affecting the
behavior.)
	





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

* RE: help to change emacs defaults
@ 2011-02-17 19:02 Jason Mancini
  0 siblings, 0 replies; 3+ messages in thread
From: Jason Mancini @ 2011-02-17 19:02 UTC (permalink / raw
  To: drew.adams, help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 3178 bytes --]





Hi,
Apology for the delayed reply.  I discovered that emacs-23/motif at work is fine (Redhat systems).  The basic problem looks like clicking on the scroll bar acts like one is clicking in the text area too.  Dragging the scrollbar is like dragging inside the text area.  Middle-clicking the bar acts like middle-click paste in the text area.  (Perhaps some sort of widget overlap error.)  Now I understand that the behavior I see is not related to active-region-highlighting / transient-mark-mode at all.  (Note: the random people on the 'net complaining about arh/tmm are probably unknowingly bitten by this bug.)

Working:
23.2.1 from scratch on kubuntu with toolkit motif, athena, lucid, gtk+ 2.20.0.
22.3.1 from scratch on kubuntu with toolkit motif, athena, lucid.
23.1.1 kubuntu package w/lucid
22.2.1 kubuntu package w/motif

Not-working:
23.1.1 from scratch on kubuntu with toolkit gtk+ 2.20.0
22.3.1 from scratch on kubuntu with toolkit gtk+ 2.20.0
22.2.1 kubuntu package w/gtk+ 2.20.0
23.1.1 kubuntu package w/gtk+ 2.20.0

What I see is that all the non-working ones use gtk+ ... and all the working ones don't use gtk, save the lone exception of the current emacs.  So I guess I just needed the latest greatest 23.2.1 version!  Shame about the broken default installs I've encountered on kubuntu and mandriva.  No bug to file since the latest stuff works.

Thanks,
Jason Mancini



> From: drew.adams@oracle.com
> To: jayrusman@hotmail.com; help-gnu-emacs@gnu.org
> Subject: RE: help to change emacs defaults
> Date: Fri, 3 Dec 2010 10:28:58 -0800
> 
> > How do I stop the following:
> > Every time the right scroll bar is used with the middle mouse
> > button, it pastes wherever the cursor happens to be when the
> > mouse is finally released.  To be clear, I am not middle-clicking
> > in the editing area!
> 
> Sounds like a bug.  `M-x report-emacs-bug RET'.
> 
> (I assume your Emacs is compiled with GTK+ support on X Window.  Otherwise,
> `mouse-2' should do nothing on the scroll bar, AFAIK.)
> 	
> > Also, how do I permanently disable "Active Region Highlighting"?
> > (Select, scroll, paste is impossible when enabled.)
> 
> That last part makes it sound like the only reason you want to do this is
> because of the bug mentioned above.
> 
> > I disabled it, saved options, and restarted, but sometimes
> > new buffers re-enable ARH.  I can see '(transient-mark-mode)
> > nil in .emacs config file already.
> 
> Maybe the modes of those new buffers impose transient-mark mode?  Have you
> checked the (local) value of variable `transient-mark-mode' in those buffers
> (use C-h v)?
> 
> If not, consider filing a separate bug for this.  You should be able to use the
> Options menu to turn off t-m mode and then use it to save your changes, and
> those changes should be respected in new Emacs sessions.  When you file a bug,
> give a step-by-step recipe to reproduce it, starting from emacs -Q.
> 
> (It's important to start from emacs -Q.  Otherwise, there might well be
> something else from your .emacs or something it loads that is affecting the
> behavior.)
> 	
> 
> 
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 3834 bytes --]

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

end of thread, other threads:[~2011-02-17 19:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-02 19:16 help to change emacs defaults Jason Mancini
2010-12-03 18:28 ` Drew Adams
  -- strict thread matches above, loose matches on Subject: below --
2011-02-17 19:02 Jason Mancini

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.