[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs cannot sort in *shell* buffer

From: Kenichi Handa
Subject: Re: Emacs cannot sort in *shell* buffer
Date: Thu, 09 Mar 2006 20:57:43 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, Peter Dyballa <address@hidden> 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 (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%

Should I install it?

Kenichi Handa

*** 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]