Aquamacs security3/31/2023 ![]() ![]() I use this since if you iconify an Aquamacs frame, it’ll still let you type in the open buffer I always switch to scratch to make sure none of my important stuff is changed (this also lets you type things without anyone seeing what you’re typing, if you have a use for that…)Īctually, I also have this line in there, after (iconify-frame): ( do-applescript hide Aquamacs "tell application \"System Events \" \nset visible of process \"Aquamacs \" to false \nend tell") Uncomment the seventh line if you want to protect your buffer from input when iconified. (define-key global-map " \C-z" #'iconify-or-deiconify-frame-fullscreen-even) ( if (eq (cdr (assq 'visibility (frame-parameters))) t) I get the error message “Cannot notify window manager of iconification” when pressing C-z in the new fullscreen mode, so I made my own that first checks for fullscreen mode and if so, exits (I guess this is a bug): ( defun iconify-or-deiconify-frame-fullscreen-even () (aquamacs-toggle-full-frame))) Iconify from Aquamacs' fullscreen-mode "Switches to a WriteRoom-like fullscreen style" With a few lines of lisp, you can define a function which uses this feature to reproduce the large font, black background style of WriteRoom, the free application which first popularized this feature: ( defun writeroom () This is great for writing without distractions. (growl-chat (format "%s mentioned a Keyword" nick) message))))))Īs of version 1.4, Aquamacs includes a fullscreen mode which fills the screen concealing the dock, the menubar, and other applications. (growl-chat-sticky (format "%s said %s" nick (erc-current-nick)) message)) ( lambda (match-type nickuserhost message) ERC notifications Growl nicknames and highlight words when they are mentioned in IRC. ( defun growl-chat-sticky (title message) (format "/usr/local/bin/growlnotify %s -m '%s' -appIcon 'Aquamacs Emacs' %s" title message ( if sticky "-sticky" "")))) ( defun growl-chat (title message
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |