From: "Rustom Mody" <rustompmody@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: hotkeys for org in gnome
Date: Mon, 24 Dec 2007 09:35:21 +0530 [thread overview]
Message-ID: <f46c52560712232005t965c566h2fff80b96eb13ce0@mail.gmail.com> (raw)
In-Reply-To: <20071224010216.GB5797@atlantic.linksys.moosehall>
[-- Attachment #1.1: Type: text/plain, Size: 1561 bytes --]
On Dec 24, 2007 6:32 AM, Adam Spiers <orgmode@adamspiers.org> wrote:
> On Sat, Dec 22, 2007 at 11:30:52PM +0530, Rustom Mody wrote:
> > Note that this is not quite satisfactory to me because the raise-frame
> > and the make-frame-visible are both redundant and insufficient.
>
> You lost me there. .emacs is only run at startup, after which the
> window manager can do anything it wants with the positioning and
> visibility of the frames - or was that your point?
>
> > Which is why I need the wmctrl. Which is why I need the bash -c.
>
> Right. I'm using -c as well.
>
The requirement is this: I should be able to -- with a single keystroke --
to get from any application into emacs into org mode. However
make-frame-visible and raise-frame dont quite work: If emacs is iconized it
gets de-iconized but if it is already one of the open windows below some
other -- firefox, shell, whatever -- it *remains under that with the emacs
tab blinking.* As a consequence Ive got to use the mouse (or shuffle through
Alt-Tab).
wmctrl does the job. But using it makes for two calls -- wmctrl and
emacsclient -- and that makes for a packaging under a (inline) shell-script.
> If anyone finds a way of streamlining this please post it!
>
> If it's the -c you don't like, you can always dump the commands in a
> script. That's nice because it gives you more breathing space to do
> things like error checking on the exit code of the wmctrl.
>
>
What I dont like is having to use a shell call for some functionality that
is almost certainly available under elisp.
[-- Attachment #1.2: Type: text/html, Size: 2257 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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
next prev parent reply other threads:[~2007-12-24 4:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-15 4:34 hotkeys for org in gnome Rustom Mody
2007-12-16 11:33 ` Adam Spiers
2007-12-16 16:56 ` Rustom Mody
2007-12-17 15:19 ` Adam Spiers
2007-12-17 6:27 ` Dmitri Minaev
2007-12-17 15:20 ` Adam Spiers
2007-12-17 15:41 ` Eric Schulte
2007-12-22 15:52 ` Bastien
2007-12-22 18:00 ` Rustom Mody
2007-12-24 1:02 ` Adam Spiers
2007-12-24 4:05 ` Rustom Mody [this message]
2007-12-24 12:32 ` Adam Spiers
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f46c52560712232005t965c566h2fff80b96eb13ce0@mail.gmail.com \
--to=rustompmody@gmail.com \
--cc=emacs-orgmode@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).