unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Any problems with this patch?
@ 2006-09-11 16:32 David Kastrup
  2006-09-12  2:01 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: David Kastrup @ 2006-09-11 16:32 UTC (permalink / raw)


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


In order to get consistent treatment of local-map/keymap properties, I
would like to check in the following change.  Doese anybody see a
problem with it?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1042 bytes --]

*** keyboard.c	11 Sep 2006 08:42:55 +0200	1.875
--- keyboard.c	11 Sep 2006 16:33:52 +0200	
***************
*** 9125,9140 ****
  			  if (!EQ (map_here, orig_local_map))
  			    {
  			      orig_local_map = map_here;
! 			      keybuf[t] = key;
! 			      mock_input = t + 1;
! 
! 			      goto replay_sequence;
  			    }
  			  map_here = get_local_map (XINT (pos),
  						     current_buffer, Qkeymap);
  			  if (!EQ (map_here, orig_keymap))
  			    {
  			      orig_keymap = map_here;
  			      keybuf[t] = key;
  			      mock_input = t + 1;
  
--- 9125,9143 ----
  			  if (!EQ (map_here, orig_local_map))
  			    {
  			      orig_local_map = map_here;
! 			      ++localized_local_map;
  			    }
+ 
  			  map_here = get_local_map (XINT (pos),
  						     current_buffer, Qkeymap);
  			  if (!EQ (map_here, orig_keymap))
  			    {
  			      orig_keymap = map_here;
+ 			      ++localized_local_map;
+ 			    }
+ 
+ 			  if (localized_local_map > 1)
+ 			    {
  			      keybuf[t] = key;
  			      mock_input = t + 1;
  

[-- Attachment #3: Type: text/plain, Size: 52 bytes --]



-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

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

* Re: Any problems with this patch?
  2006-09-11 16:32 Any problems with this patch? David Kastrup
@ 2006-09-12  2:01 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2006-09-12  2:01 UTC (permalink / raw)
  Cc: emacs-devel

    In order to get consistent treatment of local-map/keymap properties, I
    would like to check in the following change.

Would you please describe the intended change in behavior more
concretely?  Just saying it is "consistent" does not explain what the
behavior is.

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

end of thread, other threads:[~2006-09-12  2:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-11 16:32 Any problems with this patch? David Kastrup
2006-09-12  2:01 ` Richard Stallman

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