unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Non ascii-characters and File Completion
@ 2008-02-01 20:14 Florian Beck
  2008-02-02 11:57 ` Mathias Dahl
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Beck @ 2008-02-01 20:14 UTC (permalink / raw)
  To: emacs-pretest-bug


Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

(cd "~/tmp")
(shell-command "touch file-ä-text")
(shell-command "touch file-ö-text")
C-x C-f file<tab>

This completes up to "file-ä" (and ignores "file-ö")

Another tab comletes to »file-ä-text".

C-x C-f file<tab><backspace>ö<tab> correctly completes "touch
file-ö-text".

Seems like C-x C-f completes one character too many.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/share/emacs/23.0.60/etc/DEBUG for instructions.


In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.12.7)
 of 2008-02-01 on fb-laptop
Windowing system distributor `The X.Org Foundation', version 11.0.10400090
configured using `configure  '--with-gtk' '--enable-font-backend' '--with-xft' '--with-freetype' '--with-dbus' 'CC=gcc' 'CFLAGS=-march=pentium-m -mfpmath=sse -mmmx -msse''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Summary

Minor modes in effect:
  gnus-mailing-list-mode: t
  shell-dirtrack-mode: t
  show-paren-mode: t
  jabber-activity-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-y <down> C-y <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <C-left> <C-left> <C-left> <C-left> <left> 
<left> <left> <backspace> <backspace> <backspace> <backspace> 
x e e a <end> 1 6 , 1 5 <backspace> 6 , SPC <backspace> 
<backspace> <backspace> 7 , SPC ; ; S u b <C-left> 
<C-left> <C-left> <C-left> <right> <right> <right> 
<right> SPC { 4 } <end> <M-return> <backspace> <backspace> 
a SPC = S-SPC <up> <up> <up> <up> <up> <up> <down> 
<C-right> <C-right> <C-right> <C-right> <C-right> <C-right> 
<left> <left> <left> C-SPC <C-right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
M-w <down> <down> <down> <down> <down> C-y <C-tab> 
<C-tab> <C-tab> <C-tab> E <backspace> 1 4 , SPC E x 
t , <backspace> <backspace> <backspace> <backspace> 
E SPC <backspace> x t , SPC M P <M-return> <up> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <left> SPC { 2 } <down> <backspace> 
<backspace> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<C-right> <right> C-SPC <end> M-w <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <up> C-y <C-tab> <C-tab> 2 , 1 1 , SPC K B C-x 
s C-u C-c C-S-t <up> <return> <up> <return> <switch-frame> 
C-x b G r <tab> <backspace> <backspace> * G r <tab> 
<return> l g C-x b * r <tab> <return> C-c C-c q c y 
<up> <up> <up> <up> <return> c y <down> <return> <return> 
n n SPC n n n <up> <return> <up> <return> <down> <return> 
<down> <return> SPC <down> <return> n SPC n q l <return> 
<return> n M-x b u f <backspace> g <backspace> <backspace> 
<backspace> r e p o r <tab> b <tab> <return>

Recent messages:
Mark all unread articles as read? (y or n) 
Exiting summary buffer and applying spam rules
Retrieving newsgroup: nnml:mail.emacs.devel...
Fetching headers for nnml:mail.emacs.devel...done
Generating summary...done
Exiting summary buffer and applying spam rules
Retrieving newsgroup: nntp+news.gmane.org:gmane.emacs.help...
Opening nntp server on news.gmane.org...done
Fetching headers for nntp+news.gmane.org:gmane.emacs.help...done
Generating summary...done

-- 
Florian Beck




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

* Re: Non ascii-characters and File Completion
  2008-02-01 20:14 Non ascii-characters and File Completion Florian Beck
@ 2008-02-02 11:57 ` Mathias Dahl
  2008-02-02 13:09   ` Florian Beck
  0 siblings, 1 reply; 3+ messages in thread
From: Mathias Dahl @ 2008-02-02 11:57 UTC (permalink / raw)
  To: Florian Beck; +Cc: emacs-pretest-bug

> (cd "~/tmp")
> (shell-command "touch file-ä-text")
> (shell-command "touch file-ö-text")
> C-x C-f file<tab>
>
> This completes up to "file-ä" (and ignores "file-ö")
>
> Another tab comletes to »file-ä-text".
>
> C-x C-f file<tab><backspace>ö<tab> correctly completes "touch
> file-ö-text".
>
> Seems like C-x C-f completes one character too many.

That works as expected for me under GNU Emacs 23.0.60.1
(i686-pc-linux-gnu, GTK+ Version 2.10.3) of 2008-02-01 on localhost.
(I'm a Swede so I use those characters as well.)

Have you tried the same with emacs -Q?

Here are my Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: en_US.UTF-8
  value of $LC_CTYPE: en_US.UTF-8
  value of $LC_MESSAGES: en_US.UTF-8
  value of $LC_MONETARY: sv_SE.UTF-8
  value of $LC_NUMERIC: sv_SE.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=none
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

/Mathias




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

* Re: Non ascii-characters and File Completion
  2008-02-02 11:57 ` Mathias Dahl
@ 2008-02-02 13:09   ` Florian Beck
  0 siblings, 0 replies; 3+ messages in thread
From: Florian Beck @ 2008-02-02 13:09 UTC (permalink / raw)
  To: emacs-pretest-bug

"Mathias Dahl" <mathias.dahl@gmail.com> writes:

>> (cd "~/tmp")
>> (shell-command "touch file-ä-text")
>> (shell-command "touch file-ö-text")
>> C-x C-f file<tab>
>>
>> This completes up to "file-ä" (and ignores "file-ö")
>>
>> Another tab comletes to »file-ä-text".
>>
>> C-x C-f file<tab><backspace>ö<tab> correctly completes "touch
>> file-ö-text".
>>
>> Seems like C-x C-f completes one character too many.
>
> That works as expected for me under GNU Emacs 23.0.60.1
> (i686-pc-linux-gnu, GTK+ Version 2.10.3) of 2008-02-01 on localhost.
> (I'm a Swede so I use those characters as well.)
>
> Have you tried the same with emacs -Q?

Yes. Same problem. 

However, the bug disappears when I get rid of my experimental CFLAGS.

Sorry for the noise.

Strange effect, though, as I have been using them for quite some time
and this was the only problem I ran into.

>
> Here are my Important settings:
>   value of $LC_ALL: nil
>   value of $LC_COLLATE: en_US.UTF-8
>   value of $LC_CTYPE: en_US.UTF-8
>   value of $LC_MESSAGES: en_US.UTF-8
>   value of $LC_MONETARY: sv_SE.UTF-8
>   value of $LC_NUMERIC: sv_SE.UTF-8
>   value of $LC_TIME: en_US.UTF-8
>   value of $LANG: en_US.UTF-8
>   value of $XMODIFIERS: @im=none
>   locale-coding-system: utf-8-unix
>   default-enable-multibyte-characters: t
>
> /Mathias

-- 
Florian Beck




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

end of thread, other threads:[~2008-02-02 13:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-01 20:14 Non ascii-characters and File Completion Florian Beck
2008-02-02 11:57 ` Mathias Dahl
2008-02-02 13:09   ` Florian Beck

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