From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: Emacs opens a new instance for each file in agenda list on org-mobile-push Date: Thu, 17 Dec 2009 20:18:41 +0100 Message-ID: References: <4B052C01.60805@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLPQP-0001Tm-9I for emacs-orgmode@gnu.org; Thu, 17 Dec 2009 18:06:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLPQK-0001T0-9B for emacs-orgmode@gnu.org; Thu, 17 Dec 2009 18:06:24 -0500 Received: from [199.232.76.173] (port=33697 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLPQK-0001Sx-5x for emacs-orgmode@gnu.org; Thu, 17 Dec 2009 18:06:20 -0500 Received: from mail-ew0-f224.google.com ([209.85.219.224]:64874) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NLPQJ-0000tY-KW for emacs-orgmode@gnu.org; Thu, 17 Dec 2009 18:06:19 -0500 Received: by ewy24 with SMTP id 24so2854211ewy.26 for ; Thu, 17 Dec 2009 15:06:18 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Steve Brown Cc: emacs-orgmode@gnu.org Hi Steve, I have no idea why this might be happening. I know that AquaEmacs on the Mac has a default setting that will visit any new files in a new frame - maybe you Windows Emacs has a similar setting. But I don't know how to help you find it. - Carsten On Dec 17, 2009, at 11:14 AM, Steve Brown wrote: > Hi All, > > can I bump this please? > > I've tried everything I can to resolve this with no luck at all. > > Thank you, > > Steve > > On 19/11/2009 11:29, Steve Brown wrote: >> Good morning Charles, >> >> here's the bug reported as promised. >> >> I run Emacs from a pendrive on a Windows XP Pro box. My site-start.el >> contains the following to map home to:home on Emacs >> start. The first line has no line break after the defvar so there are >> only two lines of code. >> >> Otherwise the Emacs is 'vanilla' - I use it for writing and not >> coding >> so I try to keep things simple ;-) >> >> If you need anything else please let me know. >> >> Thank you, >> >> Steve >> >> ============= site-start.el =================================== >> >> (defvar usb-drive-letter (substring data-directory 0 3)) (defvar >> usb-home-dir (concat usb-drive-letter "home/")) >> >> (setenv "HOME" usb-home-dir) >> >> ============= site-start.el =================================== >> >> >> >> =========== Bug Report ======================================== >> >> Remember to cover the basics, that is, what you expected to happen >> and >> what in fact did happen. You don't know how to make a good >> report? See >> >> http://orgmode.org/manual/Feedback.html#Feedback >> >> Your bug report will be posted to the Org-mode mailing list. >> ------------------------------------------------------------------------ >> >> On executing org-mobile-push Emacs opens one frame per file listed in >> the agenda file list. >> >> I have deleted refences to specific files and replaced them with >> "DELETED", all punctuation etc. will remain 'as is'. >> >> I will also follow this with my full .emacs suitably edited for >> personal information. >> >> Emacs : GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) >> of 2009-07-30 on BREPNB >> Package: Org-mode version 6.33c >> >> current state: >> ============== >> (setq >> org-log-done 'time >> org-agenda-files '("~/Orgfiles/DELETED.org" "~/Orgfiles/work.org" >> "~/Orgfiles/DELETED.org" "~/Orgfiles/trial.org" >> "~/Orgfiles/busdev.org" "~/Orgfiles/home.org" >> "~/Orgfiles/main.org" "~/Orgfiles/DELETED.org") >> org-agenda-include-diary t >> org-export-with-sub-superscripts nil >> org-after-todo-state-change-hook '(org-clock-out-if-current) >> org-export-preprocess-hook '(org-export-blocks-preprocess) >> org-tab-first-hook '(org-hide-block-toggle-maybe) >> org-src-mode-hook '(org-src-mode-configure-edit-buffer) >> org-confirm-shell-link-function 'yes-or-no-p >> org-todo-keywords '((sequence "TODO" "STARTED" "WAITING" "|" "DONE" >> "DELEGATED") >> ) >> org-agenda-before-write-hook '(org-agenda-add-entry-text) >> org-default-notes-file "~/.notes.org" >> org-directory "~/Orgfiles/" >> org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- >> drawers >> org-cycle-show-empty-lines >> org-optimize-window-after-visibility-change) >> org-mode-hook '(#[nil "\300\301\302\303\304$\207" >> [org-add-hook change-major-mode-hook org-show-block-all >> append local] >> 5] >> ) >> org-confirm-elisp-link-function 'yes-or-no-p >> org-occur-hook '(org-first-headline-recenter) >> ) >> >> =========== Bug Report ======================================== >> >> =========== .emacs ============================================ >> >> (custom-set-variables >> ;; custom-set-variables was added by Custom. >> ;; If you edit it by hand, you could mess it up, so be careful. >> ;; Your init file should contain only one such instance. >> ;; If there is more than one, they won't work right. >> '(appt-display-duration 59) >> '(appt-display-format (quote window)) >> '(diary-mail-addr "") >> '(display-battery-mode t) >> '(display-time-mode t) >> '(emacsw32-max-frames t) >> '(org-agenda-files (quote ("~/Orgfiles/DELETED.org" >> "~/Orgfiles/work.org" "~/Orgfiles/DELETED.org" "~/Orgfiles/trial.org" >> "~/Orgfiles/busdev.org" "~/Orgfiles/home.org" "~/Orgfiles/main.org" >> "~/Orgfiles/DELETED.org"))) >> '(org-mobile-directory "~/stage") >> '(org-mobile-inbox-for-pull "~/Orgfiles/mobileinbox.org") >> '(show-paren-mode t) >> '(text-mode-hook (quote (turn-on-auto-fill text-mode-hook- >> identify))) >> '(view-diary-entries-initially t)) >> (custom-set-faces >> ;; custom-set-faces was added by Custom. >> ;; If you edit it by hand, you could mess it up, so be careful. >> ;; Your init file should contain only one such instance. >> ;; If there is more than one, they won't work right. >> ) >> ;; emacs start up file >> (setq inhibit-splash-screen t) >> (setq make-backup-files nil) >> (setq auto-save-mode nil) >> >> ;; diary customisation >> (add-hook 'diary-display-hook 'fancy-diary-display) >> (add-hook 'list-diary-entries-hook 'sort-diary-entries t) >> (setq european-calendar-style t) >> ;;; show date in status bar >> (setq display-time-day-and-date t >> display-time-24hr-format t) >> (display-time) >> (appt-activate 1) >> (setq appt-display-mode-line t) >> (setq appt-display-format 'window) >> >> ;; Org Mode >> (setq load-path (cons "~/org/lisp" load-path)) >> (setq load-path (cons "~/org/contrib/lisp" load-path)) >> (require 'org-install) >> (global-set-key "\C-cl" 'org-store-link) >> (global-set-key "\C-ca" 'org-agenda) >> (global-set-key "\C-cb" 'org-iswitchb) >> (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) >> (setq org-log-done t) ;timestamp on completion >> (setq org-agenda-include-diary t) >> (setq org-export-with-sub-superscripts nil) >> >> ;; Remember Mode >> (add-to-list 'load-path "~/remember") >> (require 'remember) >> >> (setq org-directory "~/Orgfiles/") >> (setq org-default-notes-file "~/.notes.org") >> (setq remember-annotation-functions '(org-remember-annotation)) >> (setq remember-handler-functions '(org-remember-handler)) >> (add-hook 'remember-mode-hook 'org-remember-apply-template) >> (define-key global-map "\C-cr" 'org-remember) >> >> (defun gtd () >> (interactive) >> (find-file "~/Orgfiles/main.org") >> ) >> >> (setq org-todo-keywords >> '((sequence "TODO" "STARTED" "WAITING" "|" "DONE" >> "DELEGATED"))) >> >> (setq printer-name "//LEI-10/Brother_SBR") >> >> ;; Spell checking >> (setq-default ispell-program-name "~/Aspell/bin/aspell.exe") >> >> >> =========== .emacs ============================================ >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Remember: use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> > > > > > _______________________________________________ > 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 - Carsten