all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xah <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Emacsw32 website suggestion [Re: Behavior of M-x and A-x]
Date: Tue, 12 Aug 2008 06:06:54 -0700 (PDT)	[thread overview]
Message-ID: <d18bc12b-6650-4776-9793-98e3c87676ec@w1g2000prk.googlegroups.com> (raw)
In-Reply-To: mailman.16444.1218543201.18990.help-gnu-emacs@gnu.org

On Aug 12, 5:13 am, "Lennart Borgman (gmail)"
<lennart.borg...@gmail.com> wrote:
> Xahwrote:
> >Xahwrote:
> >> ; setting the PC keyboard's various keys to Super or Hyper
> >> (setq w32-pass-lwindow-to-system nil
> >>       w32-pass-rwindow-to-system nil
> >>       w32-pass-apps-to-system nil
> >>       w32-lwindow-modifier 'super ;; Left Windows key
> >>       w32-rwindow-modifier 'super ;; Right Windows key
> >>       w32-apps-modifier 'hyper) ;; Menu key
>
> > Lennart Borgman wrote:
>
> >> Please note that using lwindow/rwindow like this does not work for all
> >> key sequences unless you are using the patched Emacs+EmacsW32.
>
> > What is the proper way to set it on Windows?
>
> The only thing that the patched version really offers in this regards is
> the possibility to actually avoid sending lwindow etc to the system:
>
> LRESULT
> CALLBACK
> LowLevelKeyboardProc(INT nCode, WPARAM wParam, LPARAM lParam)
> {
> ...
>              case VK_LWIN:
>                {
>                  bHandle = NILP(Vw32_pass_lwindow_to_system);
>                  break;
>                }
>              case VK_RWIN:
>                {
>                  bHandle = NILP(Vw32_pass_rwindow_to_system);
>                  break;
>                }
>              case VK_CAPITAL:
>                {
>                  bHandle = NILP(Vw32_enable_caps_lock);
>                  break;
>                }
>              case VK_NUMLOCK:
>                {
>                  bHandle = NILP(Vw32_enable_num_lock);
>                  break;
>                }
>              case VK_MENU:
>              case VK_LMENU:
>              case VK_RMENU:
>                {
>                  bHandle = NILP(Vw32_pass_alt_to_system);
>                  break;
>                }
>        if (bHandle) {
>          // Just to be sure check we are in the right thread
>          if (GetCurrentThreadId() == dwWindowsThreadId) {
>            // Do we have keyboard focus?
>            HWND hwnd = GetFocus();
>            if (0 != hwnd) {
>              SendMessage (hwnd, msg, wParamMsg, lParamMsg);
>              return TRUE;
>            }
>          }
>        }
>      }
>    HHOOK hhook; return CallNextHookEx(hhook, nCode, wParam, lParam);
>
> }
>
> And then it also offers easy way to set things up up, see w32-meta.el
> that comes with the patched Emacs+EmacsW32.

Thanks. Quite complicated i don't understand. That seems c source.

-------------

there's some suggestion about your emacsw32 site.

• drop the name to just EmacsW32. As opposed to Emacs+EmacsW32.

for those who needs to know the distinction, they can trivially find
out by clicking a link.

• redo the entry page so it's simply a site for EmacsW32, as a pre-
compiled emacs distro for MS Windows. With this message simple. Then
links to separate pages about features, source code, explanation of
patch, on reason to use, change log, etc.

The point is that, when user goes to your site,
http://ourcomments.org/Emacs/EmacsW32.html
she can immediately get the idea that this is a pre-compiled emacs
distro for Windows with ease to use in mind. Then, she can click on
the big download button to try it out. If she's a tech geeker, she can
easily check whether there's patch she can dowload, or other info.

Aquamac or Carbon Emacs' website are good examples of this approach.

• Put the author name in the front page. Unless for some personal
reason, you intentionally don't want people to know who made it, it
should have author name.

  Xah
∑ http://xahlee.org/

  parent reply	other threads:[~2008-08-12 13:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-11 17:48 Behavior of M-x and A-x Peter Weiss
2008-08-11 19:21 ` Xah
2008-08-11 19:54   ` Lennart Borgman (gmail)
     [not found]   ` <mailman.16401.1218484505.18990.help-gnu-emacs@gnu.org>
2008-08-12  0:11     ` B. T. Raven
2008-08-12  1:03       ` Lennart Borgman (gmail)
     [not found]       ` <mailman.16431.1218502993.18990.help-gnu-emacs@gnu.org>
2008-08-12 16:54         ` B. T. Raven
2008-08-12  7:33     ` Xah
2008-08-12 12:13       ` Lennart Borgman (gmail)
     [not found]       ` <mailman.16444.1218543201.18990.help-gnu-emacs@gnu.org>
2008-08-12 13:06         ` Xah [this message]
2008-08-12 14:08           ` Emacsw32 website suggestion [Re: Behavior of M-x and A-x] Lennart Borgman (gmail)
     [not found]           ` <mailman.16448.1218550117.18990.help-gnu-emacs@gnu.org>
2008-09-07 20:25             ` David Combs

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=d18bc12b-6650-4776-9793-98e3c87676ec@w1g2000prk.googlegroups.com \
    --to=xahlee@gmail.com \
    --cc=help-gnu-emacs@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.