From: Adrian Robert <Adrian.B.Robert@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: ns-win.el trivia
Date: Thu, 17 Jul 2008 18:45:33 +0000 (UTC) [thread overview]
Message-ID: <loom.20080717T183551-279@post.gmane.org> (raw)
In-Reply-To: x28ww1p1dq.fsf@fencepost.gnu.org
Glenn Morris <rgm <at> gnu.org> writes:
> Some trivial ns-win.el comments:
>
> What's the point of ns-carbon-compat being a separate file, when it's
> only 5 aliases that ns-win.el always loads?
I was just trying to make it easier to maintain, quickly see what
it consisted of, etc.. I also thought it might get more
involved, as more people wanted more Carbon port functionality in
Emacs.app. Maybe wait for some user feedback and see if it grows first?
> ns-print-buffer
"Interactive front-end to `print-buffer': asks for user confirmation first."
It's used as a binding to cmd (super)-p, to prevent accidental
printings, to be more consistent with other apps on the platform,
etc.. Normal print commands (print-buffer, etc.) still act
without confirmation as in other versions of emacs.
> ns-toggle-toolbar
"Switches the tool bar on and off in frame FRAME.
If FRAME is nil, the change applies to the selected frame."
Mainly because I couldn't figure out a way to do this reliably
from C code at the time. It would be better to use C code though
-- if someone knows how please implement the change.
[EmacsView -toggleToolbar:]
> ns-next-frame, ns-prev-frame
"Switch to next visible frame."
These are just there for keybindings: cmd (super)-left,right.
These don't conflict with any bindings in core emacs, and are
compatible with some other platform apps (e.g. Terminal) that
manage multiple windows. They are 1-line implementations, but I
couldn't figure out how to get them into the keybindings without
defining a function. (Less ugly than a lambda.)
next prev parent reply other threads:[~2008-07-17 18:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-17 4:42 ns-win.el trivia Glenn Morris
2008-07-17 7:23 ` Glenn Morris
2008-07-17 18:45 ` Adrian Robert [this message]
2008-07-18 0:03 ` Vinicius Jose Latorre
2008-07-19 17:22 ` Adrian Robert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20080717T183551-279@post.gmane.org \
--to=adrian.b.robert@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.