all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* icomplete-mode in emacs-startup-hook stopped working
@ 2020-11-02  4:17 Pankaj Jangid
  2020-11-02  4:25 ` Pankaj Jangid
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Pankaj Jangid @ 2020-11-02  4:17 UTC (permalink / raw)
  To: Emacs Developers

I have this in my startup file:

--8<---------------cut here---------------start------------->8---
(add-hook 'emacs-startup-hook
	  (lambda ()
	    (icomplete-mode t)))
--8<---------------cut here---------------end--------------->8---

Till yesterday, it was working. In today's build it is
not. `icomplete-mode' is not active after startup.

I have tried this,

--8<---------------cut here---------------start------------->8---
(add-hook 'emacs-startup-hook
	  (lambda ()
	    (message "hello, i have started")))
--8<---------------cut here---------------end--------------->8---

This is working. So there is must be somthing wrong with my 1st snippet.



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

* Re: icomplete-mode in emacs-startup-hook stopped working
  2020-11-02  4:17 icomplete-mode in emacs-startup-hook stopped working Pankaj Jangid
@ 2020-11-02  4:25 ` Pankaj Jangid
  2020-11-02  4:59 ` Eli Zaretskii
  2020-11-02 14:48 ` Lars Ingebrigtsen
  2 siblings, 0 replies; 6+ messages in thread
From: Pankaj Jangid @ 2020-11-02  4:25 UTC (permalink / raw)
  To: Emacs Developers

Pankaj Jangid <pankaj@codeisgreat.org> writes:

> I have this in my startup file:
>
> (add-hook 'emacs-startup-hook
> 	  (lambda ()
> 	    (icomplete-mode t)))
>
>
> Till yesterday, it was working. In today's build it is
> not. `icomplete-mode' is not active after startup.

Okay, found this in docstring,

--8<---------------cut here---------------start------------->8---
If called from Lisp, toggle the mode if ARG is ‘toggle’.  Enable the
mode if ARG is nil, omitted, or is a positive number.  All other
values will disable the mode.
--8<---------------cut here---------------end--------------->8---

And setting `t' to `+1' worked. But I am just curious if this is a
recent change that even a truth value `t' is not enabling the mode.



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

* Re: icomplete-mode in emacs-startup-hook stopped working
  2020-11-02  4:17 icomplete-mode in emacs-startup-hook stopped working Pankaj Jangid
  2020-11-02  4:25 ` Pankaj Jangid
@ 2020-11-02  4:59 ` Eli Zaretskii
  2020-11-02  7:35   ` Pankaj Jangid
  2020-11-02 14:48 ` Lars Ingebrigtsen
  2 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2020-11-02  4:59 UTC (permalink / raw)
  To: emacs-devel, Pankaj Jangid, Emacs Developers

On November 2, 2020 6:17:57 AM GMT+02:00, Pankaj Jangid <pankaj@codeisgreat.org> wrote:
> I have this in my startup file:
> 
> --8<---------------cut here---------------start------------->8---
> (add-hook 'emacs-startup-hook
> 	  (lambda ()
> 	    (icomplete-mode t)))
> --8<---------------cut here---------------end--------------->8---
> 
> Till yesterday, it was working. In today's build it is
> not. `icomplete-mode' is not active after startup.
> 
> I have tried this,
> 
> --8<---------------cut here---------------start------------->8---
> (add-hook 'emacs-startup-hook
> 	  (lambda ()
> 	    (message "hello, i have started")))
> --8<---------------cut here---------------end--------------->8---
> 
> This is working. So there is must be somthing wrong with my 1st
> snippet.

Thanks, but please always report bugs to the bug tracker, using "M-x report-emacs-bug RET".  Even if the bug is in the development code.



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

* Re: icomplete-mode in emacs-startup-hook stopped working
  2020-11-02  4:59 ` Eli Zaretskii
@ 2020-11-02  7:35   ` Pankaj Jangid
  2020-11-02 15:41     ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Pankaj Jangid @ 2020-11-02  7:35 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

> Thanks, but please always report bugs to the bug tracker, using "M-x
> report-emacs-bug RET".  Even if the bug is in the development code.

Actually, I wasn't sure if this is a bug or something that has changed.

Doing it now.



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

* Re: icomplete-mode in emacs-startup-hook stopped working
  2020-11-02  4:17 icomplete-mode in emacs-startup-hook stopped working Pankaj Jangid
  2020-11-02  4:25 ` Pankaj Jangid
  2020-11-02  4:59 ` Eli Zaretskii
@ 2020-11-02 14:48 ` Lars Ingebrigtsen
  2 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2020-11-02 14:48 UTC (permalink / raw)
  To: Emacs Developers

Pankaj Jangid <pankaj@codeisgreat.org> writes:

> I have this in my startup file:
>
> (add-hook 'emacs-startup-hook
> 	  (lambda ()
> 	    (icomplete-mode t)))

This should now be fixed on the trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



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

* Re: icomplete-mode in emacs-startup-hook stopped working
  2020-11-02  7:35   ` Pankaj Jangid
@ 2020-11-02 15:41     ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2020-11-02 15:41 UTC (permalink / raw)
  To: Pankaj Jangid; +Cc: emacs-devel

> From: Pankaj Jangid <pankaj@codeisgreat.org>
> Date: Mon, 02 Nov 2020 13:05:14 +0530
> Cc: emacs-devel@gnu.org
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Thanks, but please always report bugs to the bug tracker, using "M-x
> > report-emacs-bug RET".  Even if the bug is in the development code.
> 
> Actually, I wasn't sure if this is a bug or something that has changed.

It doesn't matter.  Closing a bug report that isn't a bug is easy.

> Doing it now.

Thank you.



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

end of thread, other threads:[~2020-11-02 15:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-02  4:17 icomplete-mode in emacs-startup-hook stopped working Pankaj Jangid
2020-11-02  4:25 ` Pankaj Jangid
2020-11-02  4:59 ` Eli Zaretskii
2020-11-02  7:35   ` Pankaj Jangid
2020-11-02 15:41     ` Eli Zaretskii
2020-11-02 14:48 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.