* bug#4243: Emacs 23 ido-mode vc-hg bug @ 2009-08-23 23:03 ` Tracy Reed 2009-08-24 6:43 ` Dan Nicolaescu 2009-08-24 19:55 ` bug#4243: marked as done (Emacs 23 ido-mode vc-hg bug) Emacs bug Tracking System 0 siblings, 2 replies; 10+ messages in thread From: Tracy Reed @ 2009-08-23 23:03 UTC (permalink / raw) To: bug-gnu-emacs [-- Attachment #1: Type: text/plain, Size: 1244 bytes --] When I start emacs 23.1.1 which I compiled myself from code downloaded from the official site: GNU Emacs 23.1.1 (x86_64-unknown-linux-gnu) of 2009-08-05 on mail.copilotco.com using emacs -Q (so my .emacs and site-lisp are not involved) I run into an error when I activate ido-mode and try to exit emacs with ctrl-x ctrl-c. Here is what appears in my Messages buffer: ("emacs" "-Q") For information about GNU Emacs and the GNU system, type C-h C-a. Ido mode enabled Loading tramp...done Quit [2 times] (No files need saving) Saving file /home/treed/.ido.last... Loading vc-hg...done Wrote /home/treed/.ido.last vc-hg-registered: Args out of range: "", 0 I started emacs with -Q, then I did M-x ido-mode, then I did ctrl-x ctrl-c. Then I get the: vc-hg-registered: Args out of range: "", 0 error. I cannot exit emacs. I have to ctrl-z and kill it. I suspect vc-hg might have been activated because my home directory is under hg version control. I'm not sure why it says "Loading tramp" there. I did not do anything with tramp. Please advise of any fixes/workarounds or if there is any more information I can provide or anything I can do to resolve this. Thanks! -- Tracy Reed http://copilotco.com [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#4243: Emacs 23 ido-mode vc-hg bug 2009-08-23 23:03 ` bug#4243: Emacs 23 ido-mode vc-hg bug Tracy Reed @ 2009-08-24 6:43 ` Dan Nicolaescu [not found] ` <20090824065621.GL11585@tracyreed.org> 2009-08-24 19:55 ` bug#4243: marked as done (Emacs 23 ido-mode vc-hg bug) Emacs bug Tracking System 1 sibling, 1 reply; 10+ messages in thread From: Dan Nicolaescu @ 2009-08-24 6:43 UTC (permalink / raw) To: Tracy Reed; +Cc: 4243 Tracy Reed <treed@copilotco.com> writes: > When I start emacs 23.1.1 which I compiled myself from code downloaded > from the official site: > > GNU Emacs 23.1.1 (x86_64-unknown-linux-gnu) of 2009-08-05 on mail.copilotco.com > > using emacs -Q (so my .emacs and site-lisp are not involved) I run > into an error when I activate ido-mode and try to exit emacs with > ctrl-x ctrl-c. Here is what appears in my Messages buffer: > > ("emacs" "-Q") > For information about GNU Emacs and the GNU system, type C-h C-a. > Ido mode enabled > Loading tramp...done > Quit [2 times] > (No files need saving) > Saving file /home/treed/.ido.last... > Loading vc-hg...done > Wrote /home/treed/.ido.last > vc-hg-registered: Args out of range: "", 0 > > I started emacs with -Q, then I did M-x ido-mode, then I did ctrl-x > ctrl-c. Then I get the: > > vc-hg-registered: Args out of range: "", 0 We need to find out what calls vc-hg-registered with such arguments. > error. I cannot exit emacs. I have to ctrl-z and kill it. I suspect > vc-hg might have been activated because my home directory is under hg > version control. I'm not sure why it says "Loading tramp" there. I > did not do anything with tramp. > > Please advise of any fixes/workarounds or if there is any more > information I can provide or anything I can do to resolve this. Can you please do: M-x load-library RET vc.el RET M-x load-library RET vc-hg.el RET M-: (setq debug-on-error t) RET this will produce a backtrace buffer, please email the contents of that buffer. ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20090824065621.GL11585@tracyreed.org>]
[parent not found: <200908240737.n7O7bo5I024429@godzilla.ics.uci.edu>]
* bug#4243: Emacs 23 ido-mode vc-hg bug [not found] ` <200908240737.n7O7bo5I024429@godzilla.ics.uci.edu> @ 2009-08-24 7:52 ` Tracy Reed [not found] ` <200908240814.n7O8EeYF024696@godzilla.ics.uci.edu> 0 siblings, 1 reply; 10+ messages in thread From: Tracy Reed @ 2009-08-24 7:52 UTC (permalink / raw) To: Dan Nicolaescu; +Cc: 4243 [-- Attachment #1: Type: text/plain, Size: 269 bytes --] On Mon, Aug 24, 2009 at 12:37:50AM -0700, Dan Nicolaescu spake thusly: > What's the output of: > > cd > hg status -A .ido.last [treed@mail ~]$ cd [treed@mail ~]$ hg status -A .ido.last [treed@mail ~]$ No output. -- Tracy Reed http://copilotco.com [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <200908240814.n7O8EeYF024696@godzilla.ics.uci.edu>]
* bug#4243: Emacs 23 ido-mode vc-hg bug [not found] ` <200908240814.n7O8EeYF024696@godzilla.ics.uci.edu> @ 2009-08-24 8:49 ` Tracy Reed 2009-08-24 13:12 ` Dan Nicolaescu 0 siblings, 1 reply; 10+ messages in thread From: Tracy Reed @ 2009-08-24 8:49 UTC (permalink / raw) To: Dan Nicolaescu; +Cc: 4243 [-- Attachment #1: Type: text/plain, Size: 628 bytes --] On Mon, Aug 24, 2009 at 01:14:40AM -0700, Dan Nicolaescu spake thusly: > And the file exists? Yes, the file exists. > That looks strange because it should output something... hg status -A by itself produces a lot of output. hg status -A on a non-existant file produces nothing just as it does on .ido.last > What version of hg? [treed@mail ~]$ hg --version Mercurial Distributed SCM (version b81baf9e4dd6) b81baf9e4dd6 is a recent stable version. I built it from source with a pull from their stable repo: http://selenic.com/repo/hg-stable/log?rev=b81baf9e4dd6 -- Tracy Reed http://copilotco.com [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#4243: Emacs 23 ido-mode vc-hg bug 2009-08-24 8:49 ` Tracy Reed @ 2009-08-24 13:12 ` Dan Nicolaescu 2009-08-24 18:53 ` Tracy Reed 0 siblings, 1 reply; 10+ messages in thread From: Dan Nicolaescu @ 2009-08-24 13:12 UTC (permalink / raw) To: Tracy Reed; +Cc: 4243 Tracy Reed <treed@copilotco.com> writes: > On Mon, Aug 24, 2009 at 01:14:40AM -0700, Dan Nicolaescu spake thusly: > > And the file exists? > > Yes, the file exists. > > > That looks strange because it should output something... > > hg status -A by itself produces a lot of output. hg status -A on a > non-existant file produces nothing just as it does on .ido.last hg status -A non-existent-file non-existent-file: No such file or directory hg --version Mercurial Distributed SCM (version 1.3) And the behavior has been the same from before version 1.0. > > What version of hg? > > [treed@mail ~]$ hg --version > Mercurial Distributed SCM (version b81baf9e4dd6) > > b81baf9e4dd6 is a recent stable version. I built it from source with a > pull from their stable repo: It looks like a bug in your hg version... ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#4243: Emacs 23 ido-mode vc-hg bug 2009-08-24 13:12 ` Dan Nicolaescu @ 2009-08-24 18:53 ` Tracy Reed 2009-08-24 19:14 ` Dan Nicolaescu 0 siblings, 1 reply; 10+ messages in thread From: Tracy Reed @ 2009-08-24 18:53 UTC (permalink / raw) To: Dan Nicolaescu; +Cc: 4243 [-- Attachment #1: Type: text/plain, Size: 792 bytes --] On Mon, Aug 24, 2009 at 06:12:06AM -0700, Dan Nicolaescu spake thusly: > It looks like a bug in your hg version... Ah-hah...I have tracked it down to this in my .hgrc file: [defaults] status = -q I use hg mostly for sysadmin stuff and often have lots of files in a directory that aren't checked in. But I use hg status often to see what has been modified and do not want to see all the noise by the files that are not checked in. So I use this default. Apparently it confuses vc-hg. Not sure if emacs could handle this better somehow but it isn't a big deal. I have commented it out of my .hgrc for now. Thanks a lot for your help in troubleshooting this and sorry for wasting your time with what turns out to be a non-emacs bug. -- Tracy Reed http://tracyreed.org [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#4243: Emacs 23 ido-mode vc-hg bug 2009-08-24 18:53 ` Tracy Reed @ 2009-08-24 19:14 ` Dan Nicolaescu 2009-08-24 19:30 ` Tracy Reed 0 siblings, 1 reply; 10+ messages in thread From: Dan Nicolaescu @ 2009-08-24 19:14 UTC (permalink / raw) To: Tracy Reed; +Cc: 4243 Tracy Reed <treed@ultraviolet.org> writes: > On Mon, Aug 24, 2009 at 06:12:06AM -0700, Dan Nicolaescu spake thusly: > > It looks like a bug in your hg version... > > Ah-hah...I have tracked it down to this in my .hgrc file: > > [defaults] > status = -q > I use hg mostly for sysadmin stuff and often have lots of files in a > directory that aren't checked in. But I use hg status often to see > what has been modified and do not want to see all the noise by the > files that are not checked in. So I use this default. Apparently it > confuses vc-hg. Not sure if emacs could handle this better somehow but > it isn't a big deal. Is there a command line flag to disable user's .hgrc? (like emacs has -q) If yes, the we can just pass that flag to "hg status", that way we always get consistent results. If not, not sure what we can do... ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#4243: Emacs 23 ido-mode vc-hg bug 2009-08-24 19:14 ` Dan Nicolaescu @ 2009-08-24 19:30 ` Tracy Reed 2009-08-24 19:43 ` Tracy Reed 0 siblings, 1 reply; 10+ messages in thread From: Tracy Reed @ 2009-08-24 19:30 UTC (permalink / raw) To: Dan Nicolaescu; +Cc: 4243 [-- Attachment #1: Type: text/plain, Size: 804 bytes --] On Mon, Aug 24, 2009 at 12:14:44PM -0700, Dan Nicolaescu spake thusly: > Is there a command line flag to disable user's .hgrc? (like emacs has -q) Not a command line flag but the command: hg help env mentions the HGRCPATH environment variable. It is a typical : separated path that tells hg where to look for its rc file. If it is empty it reads only in the repository .hg/hgrc file and not in the user's ~/.hgrc or anywhere else. So if vc-hg set HGRCPATH="" that would fix the issue for me although someone who happens to put status = -q in their repo/.hg/hgrc file would still encounter confusion. I just have talked to the hg guys in #mercurial on freenode and they are not aware of any way to completely disable all forms of hgrc reading. -- Tracy Reed http://copilotco.com [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#4243: Emacs 23 ido-mode vc-hg bug 2009-08-24 19:30 ` Tracy Reed @ 2009-08-24 19:43 ` Tracy Reed 0 siblings, 0 replies; 10+ messages in thread From: Tracy Reed @ 2009-08-24 19:43 UTC (permalink / raw) To: Dan Nicolaescu; +Cc: 4243 [-- Attachment #1: Type: text/plain, Size: 476 bytes --] On Mon, Aug 24, 2009 at 12:30:54PM -0700, Tracy Reed spake thusly: > Not a command line flag but the command: > > hg help env > > mentions the HGRCPATH environment variable. It is a typical : Hmm...the hg guys warn that disabling reading of the users .hgrc file would "mess up the ability to utilize any extensions the user has enabled, committing would be problematic as the username wouldn't be set, and so on." So... -- Tracy Reed http://copilotco.com [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#4243: marked as done (Emacs 23 ido-mode vc-hg bug) 2009-08-23 23:03 ` bug#4243: Emacs 23 ido-mode vc-hg bug Tracy Reed 2009-08-24 6:43 ` Dan Nicolaescu @ 2009-08-24 19:55 ` Emacs bug Tracking System 1 sibling, 0 replies; 10+ messages in thread From: Emacs bug Tracking System @ 2009-08-24 19:55 UTC (permalink / raw) To: Dan Nicolaescu [-- Attachment #1: Type: text/plain, Size: 876 bytes --] Your message dated Mon, 24 Aug 2009 12:47:31 -0700 (PDT) with message-id <200908241947.n7OJlV3W001678@godzilla.ics.uci.edu> and subject line Re: bug#4243: Emacs 23 ido-mode vc-hg bug has caused the Emacs bug report #4243, regarding Emacs 23 ido-mode vc-hg bug to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) -- 4243: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4243 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems [-- Attachment #2: Type: message/rfc822, Size: 3576 bytes --] [-- Attachment #2.1.1: Type: text/plain, Size: 1244 bytes --] When I start emacs 23.1.1 which I compiled myself from code downloaded from the official site: GNU Emacs 23.1.1 (x86_64-unknown-linux-gnu) of 2009-08-05 on mail.copilotco.com using emacs -Q (so my .emacs and site-lisp are not involved) I run into an error when I activate ido-mode and try to exit emacs with ctrl-x ctrl-c. Here is what appears in my Messages buffer: ("emacs" "-Q") For information about GNU Emacs and the GNU system, type C-h C-a. Ido mode enabled Loading tramp...done Quit [2 times] (No files need saving) Saving file /home/treed/.ido.last... Loading vc-hg...done Wrote /home/treed/.ido.last vc-hg-registered: Args out of range: "", 0 I started emacs with -Q, then I did M-x ido-mode, then I did ctrl-x ctrl-c. Then I get the: vc-hg-registered: Args out of range: "", 0 error. I cannot exit emacs. I have to ctrl-z and kill it. I suspect vc-hg might have been activated because my home directory is under hg version control. I'm not sure why it says "Loading tramp" there. I did not do anything with tramp. Please advise of any fixes/workarounds or if there is any more information I can provide or anything I can do to resolve this. Thanks! -- Tracy Reed http://copilotco.com [-- Attachment #2.1.2: Type: application/pgp-signature, Size: 189 bytes --] [-- Attachment #3: Type: message/rfc822, Size: 3024 bytes --] From: Dan Nicolaescu <dann@ics.uci.edu> To: Tracy Reed <treed@copilotco.com> Cc: 4243-done@emacsbugs.donarmstrong.com Subject: Re: bug#4243: Emacs 23 ido-mode vc-hg bug Date: Mon, 24 Aug 2009 12:47:31 -0700 (PDT) Message-ID: <200908241947.n7OJlV3W001678@godzilla.ics.uci.edu> Tracy Reed <treed@copilotco.com> writes: > On Mon, Aug 24, 2009 at 12:30:54PM -0700, Tracy Reed spake thusly: > > Not a command line flag but the command: > > > > hg help env > > > > mentions the HGRCPATH environment variable. It is a typical : > > Hmm...the hg guys warn that disabling reading of the users .hgrc file > would "mess up the ability to utilize any extensions the user has > enabled, committing would be problematic as the username wouldn't be > set, and so on." So... I am closing this bug then, there's nothing we can do in emacs. This sounds like a design bug in mercurial, tools (like emacs in this case) cannot rely on getting consistent output from hg commands. ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-08-24 19:55 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <200908241947.n7OJlV3W001678@godzilla.ics.uci.edu> 2009-08-23 23:03 ` bug#4243: Emacs 23 ido-mode vc-hg bug Tracy Reed 2009-08-24 6:43 ` Dan Nicolaescu [not found] ` <20090824065621.GL11585@tracyreed.org> [not found] ` <200908240737.n7O7bo5I024429@godzilla.ics.uci.edu> 2009-08-24 7:52 ` Tracy Reed [not found] ` <200908240814.n7O8EeYF024696@godzilla.ics.uci.edu> 2009-08-24 8:49 ` Tracy Reed 2009-08-24 13:12 ` Dan Nicolaescu 2009-08-24 18:53 ` Tracy Reed 2009-08-24 19:14 ` Dan Nicolaescu 2009-08-24 19:30 ` Tracy Reed 2009-08-24 19:43 ` Tracy Reed 2009-08-24 19:55 ` bug#4243: marked as done (Emacs 23 ido-mode vc-hg bug) Emacs bug Tracking System
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.