unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* long filename fools diff-backup?
@ 2003-08-25  4:44 Dan Jacobson
       [not found] ` <E19rSnH-0005lj-3e@fencepost.gnu.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Jacobson @ 2003-08-25  4:44 UTC (permalink / raw)


In dired I hit ESC =, and see:
diff-backup: No backup found for
/var/lib/apt/lists/debian.linux.org.tw_debian_dists_sid_main_binary-i386_Packages

Ha! I bet the long file name fooled it, as both
debian.linux.org.tw_debian_dists_sid_main_binary-i386_Packages
debian.linux.org.tw_debian_dists_sid_main_binary-i386_Packages~
exist.

When I put the cursor on the backup, it works.

When I touch the same long filenames into /tmp, they both work.

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

* Re: long filename fools diff-backup?
       [not found] ` <E19rSnH-0005lj-3e@fencepost.gnu.org>
@ 2003-08-30 23:31   ` Dan Jacobson
       [not found]   ` <mailman.1327.1062294981.29551.bug-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Dan Jacobson @ 2003-08-30 23:31 UTC (permalink / raw)


RMS> but I can't guess what it is.  Can you debug it?

I now believe maybe that if a .backups dir exists, diff-backup then
doesn't check for xxxx~ style backups.  It thinks all backups are made
by emacs, and doesn't look for simpler backup file names made by other
programs... At least after loading my
http://jidanni.org/comp/emacs.txt

Perhaps try:
mkdir .backups
touch a a~
wget  http://jidanni.org/comp/emacs.txt
emacs -l emacs.txt . #which requires backup-dir.el
put cursor on "a" and hit M-=

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

* Re: long filename fools diff-backup?
       [not found]   ` <mailman.1327.1062294981.29551.bug-gnu-emacs@gnu.org>
@ 2003-09-02 17:00     ` Kevin Rodgers
  0 siblings, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2003-09-02 17:00 UTC (permalink / raw)


Dan Jacobson wrote:

> RMS> but I can't guess what it is.  Can you debug it?
> 
> I now believe maybe that if a .backups dir exists, diff-backup then
> doesn't check for xxxx~ style backups.  It thinks all backups are made
> by emacs, and doesn't look for simpler backup file names made by other
> programs... At least after loading my
> http://jidanni.org/comp/emacs.txt
> 
> Perhaps try:
> mkdir .backups
> touch a a~
> wget  http://jidanni.org/comp/emacs.txt
> emacs -l emacs.txt . #which requires backup-dir.el


Cannot open load file: backup-dir.el

> put cursor on "a" and hit M-=


-- 
Kevin Rodgers

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

end of thread, other threads:[~2003-09-02 17:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-25  4:44 long filename fools diff-backup? Dan Jacobson
     [not found] ` <E19rSnH-0005lj-3e@fencepost.gnu.org>
2003-08-30 23:31   ` Dan Jacobson
     [not found]   ` <mailman.1327.1062294981.29551.bug-gnu-emacs@gnu.org>
2003-09-02 17:00     ` Kevin Rodgers

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