Re: [Orgmode] Unable to quit emacs after enabling Clocking
I fixed the issue by setting the value of backup-directory-alist as shown below: (setq backup-directory-alist '((.~ . ./.emacs.d/))) Thanks for your support, mwnn On 10/24/2010 09:17 AM, Noorul Islam wrote: On Sun, Oct 24, 2010 at 8:54 AM, mwnnmwnn...@gmail.com wrote: The call trace is as shown below: Debugger entered--Lisp error: (wrong-type-argument stringp (.~)) expand-file-name((.~) /home/mwnn/.emacs.d/) make-backup-file-name-1(/home/mwnn/.emacs.d/org-clock-save.el) find-backup-file-name(/home/mwnn/.emacs.d/org-clock-save.el) backup-buffer() basic-save-buffer-2() basic-save-buffer-1() basic-save-buffer() save-buffer() org-clock-save() run-hooks(kill-emacs-hook) kill-emacs() save-buffers-kill-emacs(nil) save-buffers-kill-terminal(nil) call-interactively(save-buffers-kill-terminal nil nil) What is the value of backup-directory-alist? C-h v backup-directory-alist I think it should be an alist. Thanks and Regards Noorul ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Unable to quit emacs after enabling Clocking
Changed the line to (setq backup-directory-alist '((.* . ./.emacs.d/))) Regards, mwnn On 10/24/2010 03:46 PM, Eric S Fraga wrote: On Sun, 24 Oct 2010 15:15:55 +0530, mwnn mwnn...@gmail.com wrote: I fixed the issue by setting the value of backup-directory-alist as shown below: (setq backup-directory-alist '((.~ . ./.emacs.d/))) I'm not sure I understand this correctly but shouldn't the first entry be a regex file pattern? This would only appear to match files with a single character followed by ~? According to the documentation for that variable, if you want all files going to the specified directory (which in your case will be relative to the original file's location), maybe you want .* as the file regex? eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Unable to quit emacs after enabling Clocking
Hi all, I added the following lines to my .emacs file to enable task clocking across emacs sessions: (setq org-clock-persist 'history) (org-clock-persistence-insinuate) Now i am unable to quit Emacs with C-x C-c command. I get the following error message: Saving file /home/mwnn/.emacs.d/org-clock-save.el... make-backup-file-name-1: Wrong type argument: stringp, (.~) Regards, mwnn ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Unable to quit emacs after enabling Clocking
On Saturday, October 23, 2010, mwnn mwnn...@gmail.com wrote: Hi all, I added the following lines to my .emacs file to enable task clocking across emacs sessions: (setq org-clock-persist 'history) (org-clock-persistence-insinuate) Now i am unable to quit Emacs with C-x C-c command. I get the following error message: Saving file /home/mwnn/.emacs.d/org-clock-save.el... make-backup-file-name-1: Wrong type argument: stringp, (.~) Can you get us a traceback of this? (setq debug-on-error t) and then try to quit emacs. It should show some traceback information. Post it here. Thanks and Regards Noorul ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Unable to quit emacs after enabling Clocking
The call trace is as shown below: Debugger entered--Lisp error: (wrong-type-argument stringp (.~)) expand-file-name((.~) /home/mwnn/.emacs.d/) make-backup-file-name-1(/home/mwnn/.emacs.d/org-clock-save.el) find-backup-file-name(/home/mwnn/.emacs.d/org-clock-save.el) backup-buffer() basic-save-buffer-2() basic-save-buffer-1() basic-save-buffer() save-buffer() org-clock-save() run-hooks(kill-emacs-hook) kill-emacs() save-buffers-kill-emacs(nil) save-buffers-kill-terminal(nil) call-interactively(save-buffers-kill-terminal nil nil) Regards, mwnn On 10/24/2010 08:51 AM, Noorul Islam wrote: On Saturday, October 23, 2010, mwnn mwnn...@gmail.com wrote: Hi all, I added the following lines to my .emacs file to enable task clocking across emacs sessions: (setq org-clock-persist 'history) (org-clock-persistence-insinuate) Now i am unable to quit Emacs with C-x C-c command. I get the following error message: Saving file /home/mwnn/.emacs.d/org-clock-save.el... make-backup-file-name-1: Wrong type argument: stringp, (.~) Can you get us a traceback of this? (setq debug-on-error t) and then try to quit emacs. It should show some traceback information. Post it here. Thanks and Regards Noorul ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode