Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] XEmacs vs. Unix
- Date: Sun, 22 Nov 2009 12:37:48 +0000
- From: Josh Glover <jmglov@example.com>
- Subject: Re: [tlug] XEmacs vs. Unix
- References: <4AFFB455.7070303@example.com> <20091115210709.0ce82336.attila@example.com> <4B00BA52.5050003@example.com> <d8fcc0800911211255q862ff39hdcabf5395d8a7385@example.com> <2000d7bd0911211705h2200d80dg94b37bb5fcdb27b4@example.com> <d8fcc0800911220055g39aea1d0p659f873d3f2873ec@example.com> <20091122110403.GH9844@example.com>
2009/11/22 Curt Sampson <cjs@example.com>: > On 2009-11-22 08:55 +0000 (Sun), Josh Glover wrote: > >> ...only to realise that I was--for example--editing a file in XEmacs >> that I had previously "git mv"'d, and wondering why my changes are >> having no effect. :) > > Hm, that seems very strange; I'd thought that XEmacs was better than > that. It is, I'm the defective link in the chain. :) > You did do the git mv from XEmacs and not, horror of horrors, > from a separate shell prompt or something similar, right? You caught me. > Emacs users > should never do anything from outside of Emacs; that's like a Unix user > changing a file on disk by using fsdb instead of going through the > kernel's write() system call. :-) Wait, there's a write() syscall? ;) I should be using an Emacs terminal emulator running zsh, of course, but I'm still using Sakura and bash. It takes me a while to get the gumption to upgrade my comfortable tools. > Vi users, of course, should feel free to write and exit, git mv the > file, and edit it again; vi will very conveniently tell you if you're > trying to edit the old one that no longer exists. Emacs will tell you that the file has changed and prompt you to update the buffer. My mistake was far more subtle: : jmglov@example.com; xemacs Foo/Bar/Baz.pm & # edit some stuff : jmglov@example.com; sync-to # rsyncs the cwd to laurana:`pwd` # time passes, then I decide to rename the Foo::Bar::Baz module : jmglov@example.com; git mv Foo/Bar/Baz.pm Foo/Baz.pm : jmglov@example.com; sync-from # rsyncs laurana:`pwd` to cwd # since I didn't add the --delete option to rsync, both Foo/Bar/Baz.pm and Foo/Baz.pm exist on alhana # I keep editing Foo/Bar/Baz.pm, forgetting to open a new buffer for Foo/Baz.pm and close the old buffer : jmglov@example.com; sync-to # rsyncs the cwd to laurana:`pwd` : jmglov@example.com; make clean && make test # WTF? The changes I made to Foo::Baz are not showing up My idiocy is a symptom of a crazy workflow that I have not made sane. I'm taking steps to fix it, but there are historical reasons why I used to *have* to work this way (or at least, this was the best option). Don't blame XEmacs for how I use it. :-P -- Cheers, Josh
- Follow-Ups:
- Re: [tlug] XEmacs vs. Unix
- From: Curt Sampson
- References:
- [tlug] Font installed, but not showing up.
- From: Dave M G
- Re: [tlug] Font installed, but not showing up.
- From: Attila Kinali
- Re: [tlug] Font installed, but not showing up. [SOLVED]
- From: Dave M G
- Re: [tlug] Font installed, but not showing up. [SOLVED]
- From: Josh Glover
- Re: [tlug] Font installed, but not showing up. [SOLVED]
- From: Shawn Brown
- Re: [tlug] Font installed, but not showing up. [SOLVED]
- From: Josh Glover
- [tlug] XEmacs vs. Unix
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Weird xmodmap problem
- Next by Date: [tlug] Readline, editing-mode vi, and reverse-i-search
- Previous by thread: [tlug] XEmacs vs. Unix
- Next by thread: Re: [tlug] XEmacs vs. Unix
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links