unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Emacs cannot sort in *shell* buffer
       [not found]       ` <43E0CA5F-95E6-49CF-A7CE-1F80BBAD56A5@web.de>
@ 2006-03-09 11:57         ` Kenichi Handa
  2006-03-09 13:14           ` Peter Dyballa
  0 siblings, 1 reply; 3+ messages in thread
From: Kenichi Handa @ 2006-03-09 11:57 UTC (permalink / raw)
  Cc: emacs-pretest-bug, emacs-devel

In article <43E0CA5F-95E6-49CF-A7CE-1F80BBAD56A5@web.de>, Peter Dyballa <Peter_Dyballa@web.de> writes:

>> Can you reproduce it with CVS HEAD emacs?

> What do you mean with this technical term? Every few days I invoke  
> 'cvs up' and then re-compile GNU Emacs 22.0.50 or 23.0.0 -- are both  
> CVS HEAD Emacsen by this procedure?

Your first report about this bug contained this line:

In GNU Emacs 23.0.0.1 (powerpc-apple-darwin8.5.0, X toolkit, Xaw3d  
scroll bars)

So, I thought you faced with this bug while using Emacs
Ver.23 (i.e. emacs-unicode-2 branch).  But, as I can't
reproduce the bug, to clarify the bug is introduced in
emacs-unicode-2 or not, I asked you if you can face with the
same bug by Emacs Ver.22 (i.e. the main trank of CVS emacs
often referred as CVS HEAD version).

>>> Putting the block from *shell* buffer into *scratch* buffer or
>>> inserting it into a TeX file sorting works fine ...
>> 
>> ?? Then how and in which buffer (and mode) did you make the
>> list when sorting didn't work?

> The sorting fails in *shell* buffers.

I see.  That's the key infomation that your missed in the
report.  I confirmed that bug both with Ver.22 and Ver.23
and I think the attached patch should be installed.  But, as
this is the first time I read sort.el, I'm not 100%
confident.

Should I install it?

---
Kenichi Handa
handa@m17n.org

*** sort.el	23 Feb 2006 19:45:32 +0900	1.53
--- sort.el	09 Mar 2006 20:47:33 +0900	
***************
*** 121,126 ****
--- 121,127 ----
  (defun sort-build-lists (nextrecfun endrecfun startkeyfun endkeyfun)
    (let ((sort-lists ())
  	(start-rec nil)
+ 	(inhibit-field-text-motion t)
  	done key)
      ;; Loop over sort records.
      ;(goto-char (point-min)) -- it is the caller's responsibility to

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

* Re: Emacs cannot sort in *shell* buffer
  2006-03-09 11:57         ` Emacs cannot sort in *shell* buffer Kenichi Handa
@ 2006-03-09 13:14           ` Peter Dyballa
  2006-03-16  2:12             ` Kenichi Handa
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Dyballa @ 2006-03-09 13:14 UTC (permalink / raw)
  Cc: emacs-pretest-bug, emacs-devel


Am 09.03.2006 um 12:57 schrieb Kenichi Handa:

>> The sorting fails in *shell* buffers.
>
> I see.  That's the key infomation that your missed in the
> report.  I confirmed that bug both with Ver.22 and Ver.23
> and I think the attached patch should be installed.  But, as
> this is the first time I read sort.el, I'm not 100%
> confident.
>
> Should I install it?

YES! It works. (I updated to the latest version of 22.0.50 and  
patched sort.el befoke making bootstrap.)

--
Greetings
   Pete

To be is to do.
                        -- I. Kant
To do is to be.
                        -- A. Sartre
Yabba-Dabba-Doo!
                        -- F. Flintstone

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

* Re: Emacs cannot sort in *shell* buffer
  2006-03-09 13:14           ` Peter Dyballa
@ 2006-03-16  2:12             ` Kenichi Handa
  0 siblings, 0 replies; 3+ messages in thread
From: Kenichi Handa @ 2006-03-16  2:12 UTC (permalink / raw)
  Cc: emacs-pretest-bug, emacs-devel

In article <D477B1E1-368E-4F65-BAF5-A3262D44A4A1@web.de>, Peter Dyballa <Peter_Dyballa@web.de> writes:

> Am 09.03.2006 um 12:57 schrieb Kenichi Handa:

>>> The sorting fails in *shell* buffers.
>> 
>> I see.  That's the key infomation that your missed in the
>> report.  I confirmed that bug both with Ver.22 and Ver.23
>> and I think the attached patch should be installed.  But, as
>> this is the first time I read sort.el, I'm not 100%
>> confident.
>> 
>> Should I install it?

> YES! It works. (I updated to the latest version of 22.0.50 and  
> patched sort.el befoke making bootstrap.)

As there's no objection, I've just committed this change.

2006-03-16  Kenichi Handa  <handa@m17n.org>

	* sort.el (sort-build-lists): Temporarily bind
	inhibit-field-text-motion to t.

---
Kenichi Handa
handa@m17n.org

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <9E961519-D1A3-4B01-8178-81957B4352E0@Web.DE>
     [not found] ` <E1FGxkp-0005lD-00@etlken>
     [not found]   ` <7B9864B3-3FCD-44ED-8B35-E3E5CC209970@web.de>
     [not found]     ` <E1FH9jY-0003l7-00@etlken>
     [not found]       ` <43E0CA5F-95E6-49CF-A7CE-1F80BBAD56A5@web.de>
2006-03-09 11:57         ` Emacs cannot sort in *shell* buffer Kenichi Handa
2006-03-09 13:14           ` Peter Dyballa
2006-03-16  2:12             ` Kenichi Handa

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