AW: Buffer Kill
-Ursprüngliche Nachricht- Von: Inger, Matthew [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 10. Januar 2003 19:14 An: '[EMAIL PROTECTED]' Betreff: Buffer Kill > is there a way to turn off the buffer kill after compilation completion? > I've tried customizing the jde-compile-finish-hook variable both with > jde-set-variables and with custom-set-variables, but neither one works. > It's annoying if i have split buffer windows, then try to compile one of > the files, that it kills the completion buffer, and unsplits the window > automatically. That is truly obnoxious, and i can't seem to figure out how > to turn it off. Try this: (remove-hook 'jde-ant-build-hook 'jde-compile-finish-kill-buffer) Hth, Christian
Save abbrevs in ~/.abbrev_defs?
Since I upgraded from NTEmacs 20.7 to NTEmacs 21.2.1 I always get this annoying message when exiting: Save abbrevs in ~/.abbrev_defs? (y or n) How can I get rid of this? I have this in my .emacs: ;;ABBREVIATION SECTION ;; abbreviation mode (setq-default abbrev-mode t) (if (file-exists-p "~/.abbrev") (read-abbrev-file "~/.abbrev")) (setq save-abbrevs t) ;;dynamic abbreviation customizations (require 'dabbrev) (setq dabbrev-case-replace nil) (setq dabbrev-always-check-other-buffers t) ;; I want to have symbols (including characters whose syntax is ;; "symbol" as well as those whose syntax is "word" expanded. This is ;; the recommended setting for dabbrev-abbrev-char-regexp. (setq dabbrev-abbrev-char-regexp "\\sw\\|\\s_") Does my JDEE package's abbreviation feature (jde-enable-abbrev-mode) need this? Thanks, Daniel _ MSN 8: advanced junk mail protection and 2 months FREE*. http://join.msn.com/?page=features/junkmail
RE: Save abbrevs in ~/.abbrev_defs?
See documentation for save-abbrevs, it's much faster than waiting for replies from a mailing list. However, I guess you want (setq save-abbrevs 'silently) Vic -- This message, including attachments, is intended only for the use by the person(s) to whom it is addressed. It may contain information which is privileged and confidential. Copying or use by anybody else is not authorised. If you are not the intended recipient, please contact the sender as soon as possible. The views expressed in this communication may not necessarily be the views held by Serco Integrated Transport.
JDEbug - Show debug frame on XEmacs
Hi, today I used JDEbug for the first time. I clicked on "Show debug frame" in the "JDEbug" menu which didn't work on XEmacs 21.4.11 [Win32 native] (JDE 2.3.2) with an error, that 'make-fram-names-alist function definition is void. Now I don't know if there's an XEmacs equivalent to this function. Right now I work around it by putting this in my .emacs: ; ; XEmacs does not have 'make-fram-names-alist ; so we define it when it's not there. ; Source is taken from GNU Emacs' frame.el where ; function 'frame-parameter (in GNU Emacs) hase been ; replaced by 'frame-property ; (if (not (fboundp 'make-frame-names-alist)) (defun make-frame-names-alist () (let* ((current-frame (selected-frame)) (falist (cons (cons (frame-property current-frame 'name) current-frame) nil)) (frame (next-frame nil t))) (while (not (eq frame current-frame)) (progn (setq falist (cons (cons (frame-property frame 'name) frame) falist)) (setq frame (next-frame frame t falist)) ) Cheers, Christian Schmitt
Re: JDEbug - Show debug frame on XEmacs
Your problem sounds unsurprising. Like a lot of brand new jde code, it is not tested on xemacs. Thanks for bringing this to my attention, I'll see if there is a good workaround (those more familiar with xemacs please let me know if you know this), else I'll use something like your workaround. "Schmitt, Christian (ext.)" <[EMAIL PROTECTED]> writes: > Hi, > today I used JDEbug for the first time. I clicked on "Show debug frame" in > the "JDEbug" menu > which didn't work on XEmacs 21.4.11 [Win32 native] (JDE 2.3.2) with an > error, that > 'make-fram-names-alist function definition is void. > > Now I don't know if there's an XEmacs equivalent to this function. > Right now I work around it by putting this in my .emacs: > ; > ; XEmacs does not have 'make-fram-names-alist > ; so we define it when it's not there. > ; Source is taken from GNU Emacs' frame.el where > ; function 'frame-parameter (in GNU Emacs) hase been > ; replaced by 'frame-property > ; > (if (not (fboundp 'make-frame-names-alist)) > (defun make-frame-names-alist () > (let* ((current-frame (selected-frame)) > (falist > (cons >(cons (frame-property current-frame 'name) current-frame) > nil)) > (frame (next-frame nil t))) > (while (not (eq frame current-frame)) > (progn > (setq falist (cons (cons (frame-property frame 'name) frame) > falist)) > (setq frame (next-frame frame t > falist)) > ) > > > Cheers, > Christian Schmitt
Re: JDEbug - Show debug frame on XEmacs
Sorry, I don't meet to imply that your workaround isn't good. But maybe there's an xemacs make-frame-names-alist equivalent, so it could be a one line change. Andrew Hyatt <[EMAIL PROTECTED]> writes: > Your problem sounds unsurprising. Like a lot of brand new jde code, > it is not tested on xemacs. Thanks for bringing this to my attention, > I'll see if there is a good workaround (those more familiar with > xemacs please let me know if you know this), else I'll use something > like your workaround. > > "Schmitt, Christian (ext.)" <[EMAIL PROTECTED]> writes: > >> Hi, >> today I used JDEbug for the first time. I clicked on "Show debug frame" in >> the "JDEbug" menu >> which didn't work on XEmacs 21.4.11 [Win32 native] (JDE 2.3.2) with an >> error, that >> 'make-fram-names-alist function definition is void. >> >> Now I don't know if there's an XEmacs equivalent to this function. >> Right now I work around it by putting this in my .emacs: >> ; >> ; XEmacs does not have 'make-fram-names-alist >> ; so we define it when it's not there. >> ; Source is taken from GNU Emacs' frame.el where >> ; function 'frame-parameter (in GNU Emacs) hase been >> ; replaced by 'frame-property >> ; >> (if (not (fboundp 'make-frame-names-alist)) >> (defun make-frame-names-alist () >> (let* ((current-frame (selected-frame)) >> (falist >> (cons >>(cons (frame-property current-frame 'name) current-frame) >> nil)) >> (frame (next-frame nil t))) >> (while (not (eq frame current-frame)) >> (progn >> (setq falist (cons (cons (frame-property frame 'name) frame) >> falist)) >> (setq frame (next-frame frame t >> falist)) >> ) >> >> >> Cheers, >> Christian Schmitt
RE: Save abbrevs in ~/.abbrev_defs?
--- Victor Kirk <[EMAIL PROTECTED]> wrote: > See documentation for save-abbrevs, it's much faster than waiting > for replies from a mailing list. > > However, I guess you want (setq save-abbrevs 'silently) > This variable can be customized: M-x customize-variable RET save-abbrevs RET Select a value of 't', 'nil' or 'silently'. Hope this helps, greg_fenton. = Greg Fenton [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com