emacs-devel
[Top][All Lists]
Advanced

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

Re: hexl: doesn't play nicely with dynamic-completion-mode


From: Richard Stallman
Subject: Re: hexl: doesn't play nicely with dynamic-completion-mode
Date: Sat, 08 Sep 2007 22:13:29 -0400

    > enable hexl-mode:
    >
    > M-x hexl-mode RET
    >
    > type some text containing full stops:
    >
    > hello.world.

One idea is for Dynamic-Completion mode to be a no-op
when in hexl mode.  This is an inelegant way of doing it;
does it fix your problem?  If so, we could implement it more
elegantly.

*** completion.el       19 Aug 2007 16:31:48 -0400      1.63
--- completion.el       08 Sep 2007 20:33:07 -0400      
***************
*** 2231,2237 ****
  
  (defun completion-separator-self-insert-command (arg)
    (interactive "p")
!   (use-completion-before-separator)
    (self-insert-command arg))
  
  (defun completion-separator-self-insert-autofilling (arg)
--- 2231,2238 ----
  
  (defun completion-separator-self-insert-command (arg)
    (interactive "p")
!   (unless (eq major-mode 'hexl-mode)
!     (use-completion-before-separator))
    (self-insert-command arg))
  
  (defun completion-separator-self-insert-autofilling (arg)




reply via email to

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