* emacs-w3m question @ 2022-11-01 20:25 Jon Fineman 2022-11-02 12:32 ` Michael Heerdegen ` (2 more replies) 0 siblings, 3 replies; 76+ messages in thread From: Jon Fineman @ 2022-11-01 20:25 UTC (permalink / raw) To: help-gnu-emacs When I go to some sites for example <https://duckduckgo.com/> using w3m the page returned appears to be binary. Most sites work. Stand alone w3m works for duckduckgo.com. One difference I am seeing is this site returns a HTTP/2 in the header. I was wondering if that could be the problem, or if anybody else has seen this. Eww displays the problem sites fine. I am using: w3m-20220902.545 and Emacs 28.2. This is on Debian bullseye unstable or Openbsd 7.2. Thanks. Jon ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-01 20:25 emacs-w3m question Jon Fineman @ 2022-11-02 12:32 ` Michael Heerdegen 2022-11-02 17:44 ` Jon Fineman 2022-11-02 13:20 ` Emanuel Berg 2022-11-02 22:14 ` Bob Newell 2 siblings, 1 reply; 76+ messages in thread From: Michael Heerdegen @ 2022-11-02 12:32 UTC (permalink / raw) To: help-gnu-emacs Jon Fineman <jon@fineman.me> writes: > When I go to some sites for example <https://duckduckgo.com/> using > w3m the page returned appears to be binary. Most sites work. Stand > alone w3m works for duckduckgo.com. I don't see that. Going to this url in w3m redirects me to https://lite.duckduckgo.com/lite/ and that works fine. Michael. ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-02 12:32 ` Michael Heerdegen @ 2022-11-02 17:44 ` Jon Fineman 2022-11-03 11:18 ` Michael Heerdegen 0 siblings, 1 reply; 76+ messages in thread From: Jon Fineman @ 2022-11-02 17:44 UTC (permalink / raw) To: Michael Heerdegen, help-gnu-emacs When I run this with emacs -q I get redirected. When I launch this with my regular emacs I don't get redirected. I just tried launching emacs -q and running the following: (require 'package) (add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/")) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (package-initialize) (require 'w3m-load) (setq mm-text-html-renderer 'w3m) And still got the odd return. Then I unset any environment variables that had my UTF settings. Also I renamed my ~/.w3m config directory as there is some overlap in the usage. What else might influence this? A sample of what was returned. I removed the unprintable characters. Location: https://lite.duckduckgo.com/lite/ ?B?????3]x??E?B????\_Z\^J????????G?K??!?M?0??SA\?Y?8?_?^~??]??Kx??x??D Michael Heerdegen <michael_heerdegen@web.de> writes: > Jon Fineman <jon@fineman.me> writes: > >> When I go to some sites for example <https://duckduckgo.com/> using >> w3m the page returned appears to be binary. Most sites work. Stand >> alone w3m works for duckduckgo.com. > > I don't see that. Going to this url in w3m redirects me to > https://lite.duckduckgo.com/lite/ and that works fine. > > Michael. ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-02 17:44 ` Jon Fineman @ 2022-11-03 11:18 ` Michael Heerdegen 2022-11-08 3:58 ` Bob Newell 0 siblings, 1 reply; 76+ messages in thread From: Michael Heerdegen @ 2022-11-03 11:18 UTC (permalink / raw) To: help-gnu-emacs Jon Fineman <jon@fineman.me> writes: > What else might influence this? I have no clue. Would be interesting of you could find out. Maybe on the w3m mailing list mentioned. Michael. ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-03 11:18 ` Michael Heerdegen @ 2022-11-08 3:58 ` Bob Newell 0 siblings, 0 replies; 76+ messages in thread From: Bob Newell @ 2022-11-08 3:58 UTC (permalink / raw) To: help-gnu-emacs The "binary" display problem that some users (but not all) have encountered has now been patched upstream by the developer and the new emacs-w3m pushed out. Hopefully, end of story. -- Bob Newell Honolulu, Hawai`i - Via GNU/Linux/Emacs/Gnus/BBDB ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-01 20:25 emacs-w3m question Jon Fineman 2022-11-02 12:32 ` Michael Heerdegen @ 2022-11-02 13:20 ` Emanuel Berg 2022-11-02 17:32 ` Jon Fineman 2022-11-02 22:14 ` Bob Newell 2 siblings, 1 reply; 76+ messages in thread From: Emanuel Berg @ 2022-11-02 13:20 UTC (permalink / raw) To: help-gnu-emacs; +Cc: emacs-w3m Jon Fineman <jon@fineman.me> wrote: > When I go to some sites for example > <https://duckduckgo.com/> using w3m the page returned > appears to be binary. Most sites work. Stand alone w3m works > for duckduckgo.com. > > One difference I am seeing is this site returns a HTTP/2 in > the header. I was wondering if that could be the problem, or > if anybody else has seen this. > > Eww displays the problem sites fine. > > I am using: w3m-20220902.545 and Emacs 28.2. This is on > Debian bullseye unstable or Openbsd 7.2. They should know on gmane.emacs.w3m or, if you don't use Gnus, here is the web page for the mailing list: http://emacs-w3m.namazu.org/ml/index.html -- underground experts united https://dataswamp.org/~incal ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-02 13:20 ` Emanuel Berg @ 2022-11-02 17:32 ` Jon Fineman 2022-11-02 18:22 ` Emanuel Berg 2022-11-03 17:56 ` Bob Newell 0 siblings, 2 replies; 76+ messages in thread From: Jon Fineman @ 2022-11-02 17:32 UTC (permalink / raw) To: Emanuel Berg, help-gnu-emacs; +Cc: emacs-w3m Thanks. I attempted to sign up for that list, but I am not sure it worked as I didn't get a response. When I try and search that site with firefox I get an internal server error. Hence my post here. Emanuel Berg <incal@dataswamp.org> writes: > Jon Fineman <jon@fineman.me> wrote: > >> When I go to some sites for example >> <https://duckduckgo.com/> using w3m the page returned >> appears to be binary. Most sites work. Stand alone w3m works >> for duckduckgo.com. >> >> One difference I am seeing is this site returns a HTTP/2 in >> the header. I was wondering if that could be the problem, or >> if anybody else has seen this. >> >> Eww displays the problem sites fine. >> >> I am using: w3m-20220902.545 and Emacs 28.2. This is on >> Debian bullseye unstable or Openbsd 7.2. > > They should know on gmane.emacs.w3m or, if you don't use Gnus, > here is the web page for the mailing list: > > http://emacs-w3m.namazu.org/ml/index.html > > -- > underground experts united > https://dataswamp.org/~incal ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-02 17:32 ` Jon Fineman @ 2022-11-02 18:22 ` Emanuel Berg 2022-11-03 17:56 ` Bob Newell 1 sibling, 0 replies; 76+ messages in thread From: Emanuel Berg @ 2022-11-02 18:22 UTC (permalink / raw) To: help-gnu-emacs; +Cc: emacs-w3m Jon Fineman wrote: > I attempted to sign up for that list, but I am not sure it > worked as I didn't get a response. It works, your post showed up. As will this one ... -- underground experts united https://dataswamp.org/~incal ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-02 17:32 ` Jon Fineman 2022-11-02 18:22 ` Emanuel Berg @ 2022-11-03 17:56 ` Bob Newell 2022-11-04 2:02 ` Jon Fineman 2022-11-06 22:49 ` Bob Newell 1 sibling, 2 replies; 76+ messages in thread From: Bob Newell @ 2022-11-03 17:56 UTC (permalink / raw) To: Jon Fineman; +Cc: help-gnu-emacs >>> When I go to some sites for example >>> <https://duckduckgo.com/> using w3m the page returned >>> appears to be binary. Most sites work. Stand alone w3m works >>> for duckduckgo.com. Okay, I started tracking this down. Important: What distro do you use? I suspect this works on Ubuntu and not on Arch. The problem appears to be that sites with UTF-8 encoding do not render properly while the ISO encoded do work. Looking into w3m.el (very hard to for me to follow) it seems like the command line utility mbconv (part of libmoe) doesn't exist in Arch. I can find libmoe in deb packages, however installing it is proving difficult. This MIGHT be the problem but I am not certain as yet. If I get any success I will report it here. -- Bob Newell Honolulu, Hawai`i - Via GNU/Linux/Emacs/Gnus/BBDB ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-03 17:56 ` Bob Newell @ 2022-11-04 2:02 ` Jon Fineman 2022-11-06 22:49 ` Bob Newell 1 sibling, 0 replies; 76+ messages in thread From: Jon Fineman @ 2022-11-04 2:02 UTC (permalink / raw) To: Bob Newell; +Cc: help-gnu-emacs GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0) of 2022-10-28, modified by Debian I don't have access to my OpenBSD desktop, but I installed emacs from their default packages. Same here with Debian. I get the same behavior on both systems. Bob Newell <bobnewell@bobnewell.net> writes: >>>> When I go to some sites for example >>>> <https://duckduckgo.com/> using w3m the page returned >>>> appears to be binary. Most sites work. Stand alone w3m works >>>> for duckduckgo.com. > > Okay, I started tracking this down. Important: What distro do > you use? I suspect this works on Ubuntu and not on Arch. > > The problem appears to be that sites with UTF-8 encoding do > not render properly while the ISO encoded do work. > > Looking into w3m.el (very hard to for me to follow) it seems > like the command line utility mbconv (part of libmoe) doesn't > exist in Arch. I can find libmoe in deb packages, however > installing it is proving difficult. This MIGHT be the problem > but I am not certain as yet. > > If I get any success I will report it here. > > -- > Bob Newell > Honolulu, Hawai`i > > - Via GNU/Linux/Emacs/Gnus/BBDB ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-03 17:56 ` Bob Newell 2022-11-04 2:02 ` Jon Fineman @ 2022-11-06 22:49 ` Bob Newell 2022-11-07 6:08 ` Yuri Khan 1 sibling, 1 reply; 76+ messages in thread From: Bob Newell @ 2022-11-06 22:49 UTC (permalink / raw) To: help-gnu-emacs >>>> When I go to some sites for example >>>> <https://duckduckgo.com/> using w3m the page returned >>>> appears to be binary. Most sites work. Stand alone w3m works >>>> for duckduckgo.com. My initial suspicions about the cause were wrong, but I've traced further and developed a patch that works for me. I'm getting a bit more testing done and if it pans out I'll submit it to the emacs-w3m maintainers. To summarize: sites which use "brotli" compression don't work; others do. There is no brotli handler in w3m.el, so I added one, and that did the trick. Why does w3m command line render fine? Because none of the "dump" options are used. w3m.el uses dump options. Why is everything fine for some users but not others? While I'm not sure, on most of my systems I have the latest w3m (command line) version, and I have trouble. On another system I have a release that's a few years older, and that one works. This would explain why what used to work for me on Arch quit working one day. -- Bob Newell Honolulu, Hawai`i - Via GNU/Linux/Emacs/Gnus/BBDB ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-06 22:49 ` Bob Newell @ 2022-11-07 6:08 ` Yuri Khan 2022-11-07 6:38 ` Bob Newell ` (2 more replies) 0 siblings, 3 replies; 76+ messages in thread From: Yuri Khan @ 2022-11-07 6:08 UTC (permalink / raw) To: Bob Newell; +Cc: help-gnu-emacs On Mon, 7 Nov 2022 at 05:51, Bob Newell <bobnewell@bobnewell.net> wrote: > To summarize: sites which use "brotli" compression don't work; > others do. There is no brotli handler in w3m.el, so I added > one, and that did the trick. After re-reading RFC 9110 § 12.5.3, it looks like the client should indicate its supported and preferred content encodings in an Accept-Encoding request header. Does w3m.el send one? If it doesn’t, the server may assume any encoding is acceptable. ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-07 6:08 ` Yuri Khan @ 2022-11-07 6:38 ` Bob Newell 2022-11-07 6:45 ` Stefan Monnier via Users list for the GNU Emacs text editor 2022-11-07 12:40 ` Emanuel Berg 2 siblings, 0 replies; 76+ messages in thread From: Bob Newell @ 2022-11-07 6:38 UTC (permalink / raw) To: Yuri Khan; +Cc: help-gnu-emacs Yuri Khan <yuri.v.khan@gmail.com> writes: > After re-reading RFC 9110 § 12.5.3, it looks like the client should > indicate its supported and preferred content encodings in an > Accept-Encoding request header. Does w3m.el send one? If it doesn’t, > the server may assume any encoding is acceptable. That would actually happen within the w3m program itself. I haven't looked into it, but you make a good point. That said, "brotli" isn't uncommon and ought to be supported; and a two-line patch seemed to do it. -- Bob Newell Honolulu, Hawai`i - Via GNU/Linux/Emacs/Gnus/BBDB ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-07 6:08 ` Yuri Khan 2022-11-07 6:38 ` Bob Newell @ 2022-11-07 6:45 ` Stefan Monnier via Users list for the GNU Emacs text editor 2022-11-07 6:59 ` Yuri Khan 2022-11-07 12:34 ` Emanuel Berg 2022-11-07 12:40 ` Emanuel Berg 2 siblings, 2 replies; 76+ messages in thread From: Stefan Monnier via Users list for the GNU Emacs text editor @ 2022-11-07 6:45 UTC (permalink / raw) To: help-gnu-emacs Yuri Khan [2022-11-07 13:08:44] wrote: > After re-reading RFC 9110 § 12.5.3, it looks like the client should > indicate its supported and preferred content encodings in an > Accept-Encoding request header. Does w3m.el send one? If it doesn’t, > the server may assume any encoding is acceptable. Really? That doesn't sound right. Shouldn't the server assume that only the simplest encodings can be used if the header is missing? That's the only safe choice, no? Stefan ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-07 6:45 ` Stefan Monnier via Users list for the GNU Emacs text editor @ 2022-11-07 6:59 ` Yuri Khan 2022-11-07 12:34 ` Emanuel Berg 1 sibling, 0 replies; 76+ messages in thread From: Yuri Khan @ 2022-11-07 6:59 UTC (permalink / raw) To: Stefan Monnier; +Cc: help-gnu-emacs On Mon, 7 Nov 2022 at 13:47, Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote: > Yuri Khan [2022-11-07 13:08:44] wrote: > > After re-reading RFC 9110 § 12.5.3, it looks like the client should > > indicate its supported and preferred content encodings in an > > Accept-Encoding request header. Does w3m.el send one? If it doesn’t, > > the server may assume any encoding is acceptable. > > Really? That doesn't sound right. Shouldn't the server assume that > only the simplest encodings can be used if the header is missing? > That's the only safe choice, no? Yeah, my intuition also said so and I was about to compose a reply of indignant finger pointing at the sites that spew brotli without any indication that the client would be able to process it, but I decided to look up the spec and changed my mind. This is what it says, after explaining the syntax: : A server tests : whether a content coding for a given representation is acceptable : using these rules: : : 1. If no Accept-Encoding header field is in the request, : any content coding is considered acceptable by the user agent. : 2. If the representation has no content coding, : then it is acceptable by default : unless specifically excluded by the Accept-Encoding header field : stating either "identity;q=0" or "*;q=0" : without a more specific entry for "identity". : 3. If the representation's content coding is one of the content codings : listed in the Accept-Encoding field value, : then it is acceptable unless it is accompanied by a qvalue of 0. : (As defined in Section 12.4.2, : a qvalue of 0 means "not acceptable".) I checked and similar wordings run back through the original HTTP/1.1 spec (RFC 2616). That version also includes the following: : Note: If the request does not include an Accept-Encoding field, : and if the "identity" content-coding is unavailable, then : content-codings commonly understood by HTTP/1.0 clients (i.e., : "gzip" and "compress") are preferred; some older clients : improperly display messages sent with other content-codings. The : server might also make this decision based on information about : the particular user-agent or client. ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-07 6:45 ` Stefan Monnier via Users list for the GNU Emacs text editor 2022-11-07 6:59 ` Yuri Khan @ 2022-11-07 12:34 ` Emanuel Berg 1 sibling, 0 replies; 76+ messages in thread From: Emanuel Berg @ 2022-11-07 12:34 UTC (permalink / raw) To: help-gnu-emacs Stefan Monnier via Users list for the GNU Emacs text editor wrote: >> After re-reading RFC 9110 § 12.5.3, it looks like the >> client should indicate its supported and preferred content >> encodings in an Accept-Encoding request header. Does w3m.el >> send one? If it doesn’t, the server may assume any encoding >> is acceptable. > > Really? That doesn't sound right. Shouldn't the server > assume that only the simplest encodings can be used if the > header is missing? That's the only safe choice, no? The discussion can go either way but it's the safe choice alright ... -- underground experts united https://dataswamp.org/~incal ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-07 6:08 ` Yuri Khan 2022-11-07 6:38 ` Bob Newell 2022-11-07 6:45 ` Stefan Monnier via Users list for the GNU Emacs text editor @ 2022-11-07 12:40 ` Emanuel Berg 2 siblings, 0 replies; 76+ messages in thread From: Emanuel Berg @ 2022-11-07 12:40 UTC (permalink / raw) To: help-gnu-emacs Yuri Khan wrote: >> To summarize: sites which use "brotli" compression don't >> work; others do. There is no brotli handler in w3m.el, so >> I added one, and that did the trick. > > After re-reading RFC 9110 § 12.5.3, it looks like the client > should indicate its supported and preferred content > encodings in an Accept-Encoding request header. Does w3m.el > send one? If it doesn’t, the server may assume any encoding > is acceptable. M-x apropos-variable RET w3m encod RET w3m-compatible-encoding-alist Variable: Alist of encodings and those supersets. Value: ((gb2312 . gbk) (iso-8859-1 . windows-1252) (iso-8859-8 . w ... w3m-encoding-alist Variable: Alist of content encoding types and decoder symbols. Value: (("gzip" . gzip) ("x-gzip" . gzip) ("compress" . gzip) ("x- ... w3m-encoding-type-alist User option: Alist of file suffixes and content encoding types. Value: (("\\.gz\\'" . "gzip") ("\\.bz2?\\'" . "bzip")) -- underground experts united https://dataswamp.org/~incal ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2022-11-01 20:25 emacs-w3m question Jon Fineman 2022-11-02 12:32 ` Michael Heerdegen 2022-11-02 13:20 ` Emanuel Berg @ 2022-11-02 22:14 ` Bob Newell 2 siblings, 0 replies; 76+ messages in thread From: Bob Newell @ 2022-11-02 22:14 UTC (permalink / raw) To: Jon Fineman; +Cc: help-gnu-emacs Jon Fineman <jon@fineman.me> writes: > When I go to some sites for example <https://duckduckgo.com/> using > w3m the page returned appears to be binary. Most sites work. Stand > alone w3m works for duckduckgo.com. I have seen this same problem in various contexts. This happens with links on my RSS feed from Slashdot, for instance. As with your case eww works fine. Strangely this is true on all my Arch Linux installations, but when running Termix under Android, it works fine and as expected. I have not yet been able to track this down although admittedly I haven't done much tracking. -- Bob Newell Honolulu, Hawai`i - Via GNU/Linux/Emacs/Gnus/BBDB ^ permalink raw reply [flat|nested] 76+ messages in thread
* emacs-w3m question @ 2008-10-27 20:45 Francis Moreau 2008-10-27 21:09 ` henry atting 2008-10-27 21:48 ` Andreas Politz 0 siblings, 2 replies; 76+ messages in thread From: Francis Moreau @ 2008-10-27 20:45 UTC (permalink / raw) To: help-gnu-emacs Hello, Is there a fast way to jump to the 4th link (for example) that Google proposes after a search ? Currently I'm using C-s and start typing the proposed title. thanks Francis ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-10-27 20:45 Francis Moreau @ 2008-10-27 21:09 ` henry atting 2008-10-27 21:36 ` Richard Riley 2008-10-27 21:48 ` Andreas Politz 1 sibling, 1 reply; 76+ messages in thread From: henry atting @ 2008-10-27 21:09 UTC (permalink / raw) To: help-gnu-emacs Zitat - Francis Moreau * Mo Okt 27 2008 um 21:45 - > Hello, > > Is there a fast way to jump to the 4th link (for example) that Google > proposes after a search ? Currently I'm using C-s and start typing the > proposed title. If you know the exact number of your link already you could do it with a prefix argument: C-u 4 <down> Some time ago I used to do it with `goto-line', therefore I started emacs-w3m with a hook to start linum-mode also. henry ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-10-27 21:09 ` henry atting @ 2008-10-27 21:36 ` Richard Riley 2008-10-28 18:40 ` Xah 0 siblings, 1 reply; 76+ messages in thread From: Richard Riley @ 2008-10-27 21:36 UTC (permalink / raw) To: help-gnu-emacs henry atting <atting@literaturlatenight.de> writes: > Zitat - Francis Moreau * Mo Okt 27 2008 um 21:45 - > >> Hello, >> >> Is there a fast way to jump to the 4th link (for example) that Google >> proposes after a search ? Currently I'm using C-s and start typing the >> proposed title. > > If you know the exact number of your link already you could do it with a > prefix argument: > > C-u 4 <down> > > Some time ago I used to do it with `goto-line', therefore I started > emacs-w3m with a hook to start linum-mode also. > > henry > Is there a solution if we have different key bindings for cursoring? e.g I want the cursor to roam freely for selective copying to clipboard so down does not move to the next link. e.g I have (setq w3m-key-binding (quote info)) w3m-next-anchor picks up other links than the main ones. regards r. ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-10-27 21:36 ` Richard Riley @ 2008-10-28 18:40 ` Xah 2008-10-30 21:25 ` Xavier Maillard [not found] ` <mailman.2522.1225402310.25473.help-gnu-emacs@gnu.org> 0 siblings, 2 replies; 76+ messages in thread From: Xah @ 2008-10-28 18:40 UTC (permalink / raw) To: help-gnu-emacs On Oct 27, 2:36 pm, Richard Riley <rileyrg...@gmail.com> wrote: > henry atting <att...@literaturlatenight.de> writes: > > Zitat - Francis Moreau * Mo Okt 27 2008 um 21:45 - > > >> Hello, > > >> Is there a fast way to jump to the 4th link (for example) that Google > >> proposes after a search ? Currently I'm using C-s and start typing the > >> proposed title. > > C-u 4 <down> > Is there a solution if we have different key bindings for cursoring? e.g > I want the cursor to roam freely for selective copying to clipboard so > down does not move to the next link. > > e.g I have > > (setq w3m-key-binding (quote info)) Here's what i do: (add-hook 'w3m-mode-hook (lambda () (define-key w3m-mode-map (kbd "<up>") 'previous-line) ; was w3m- previous-anchor. Use Shift+Tab. (define-key w3m-mode-map (kbd "<down>") 'next-line) ; was w3m-next- anchor. Use Tab. (define-key w3m-mode-map (kbd "<left>") 'backward-char) ; was w3m- view-previous-page. Use B. (define-key w3m-mode-map (kbd "<right>") 'forward-char) ; was w3m- view-this-url. Use Enter. )) i think it is good to make this default. More intuitive for emacs users. PS i noticed that w3m is 2 or 3 times slower than a full featured browser. I have w3m in text only mode. I have a function that looks up webpage in both Opera and w3m in emacs. The opera almost always finished loading the page 3 or more times faster than w3m with emacs. (the Opera has image, css on. My w3m has images off.) Xah ∑ http://xahlee.org/ ☄ ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-10-28 18:40 ` Xah @ 2008-10-30 21:25 ` Xavier Maillard 2008-10-30 22:16 ` Paul R [not found] ` <mailman.2522.1225402310.25473.help-gnu-emacs@gnu.org> 1 sibling, 1 reply; 76+ messages in thread From: Xavier Maillard @ 2008-10-30 21:25 UTC (permalink / raw) To: Xah; +Cc: help-gnu-emacs Hi, Here's what i do: (add-hook 'w3m-mode-hook (lambda () (define-key w3m-mode-map (kbd "<up>") 'previous-line) ; was w3m- previous-anchor. Use Shift+Tab. (define-key w3m-mode-map (kbd "<down>") 'next-line) ; was w3m-next- anchor. Use Tab. (define-key w3m-mode-map (kbd "<left>") 'backward-char) ; was w3m- view-previous-page. Use B. (define-key w3m-mode-map (kbd "<right>") 'forward-char) ; was w3m- view-this-url. Use Enter. )) i think it is good to make this default. More intuitive for emacs users. For your information, many old computers do not have Up/Down/Left/Right keys thus making this as a default won't work for them. I never use these key due to my habits. Therefor I strongly disagree with you on that point. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-10-30 21:25 ` Xavier Maillard @ 2008-10-30 22:16 ` Paul R 2008-11-01 7:25 ` Xavier Maillard [not found] ` <mailman.2625.1225539334.25473.help-gnu-emacs@gnu.org> 0 siblings, 2 replies; 76+ messages in thread From: Paul R @ 2008-10-30 22:16 UTC (permalink / raw) To: Xavier Maillard; +Cc: help-gnu-emacs, Xah Xavier> For your information, many old computers do not have Xavier> Up/Down/Left/Right keys thus making this as a default won't work Xavier> for them. I never use these key due to my habits. Therefor Xavier> I strongly disagree with you on that point. Defaults are for newcomers to quickly get hands on the thing. Nowaday, how many newcomers to emacs would discover it on a system without directional keys ? I bet 0, how many do you bet ? Now how many of them will find themselves unable to try a mode without asking on a mailing list, just because of weird keybindings ? -- Paul ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-10-30 22:16 ` Paul R @ 2008-11-01 7:25 ` Xavier Maillard 2008-11-01 12:59 ` Paul R [not found] ` <mailman.2625.1225539334.25473.help-gnu-emacs@gnu.org> 1 sibling, 1 reply; 76+ messages in thread From: Xavier Maillard @ 2008-11-01 7:25 UTC (permalink / raw) To: Paul R; +Cc: help-gnu-emacs, xahlee Xavier> For your information, many old computers do not have Xavier> Up/Down/Left/Right keys thus making this as a default won't work Xavier> for them. I never use these key due to my habits. Therefor Xavier> I strongly disagree with you on that point. Defaults are for newcomers to quickly get hands on the thing. I do not see why defaults should apply to newcomers, really. Defaults must apply to the mass (either power users or newcomers). Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-01 7:25 ` Xavier Maillard @ 2008-11-01 12:59 ` Paul R 0 siblings, 0 replies; 76+ messages in thread From: Paul R @ 2008-11-01 12:59 UTC (permalink / raw) To: Xavier Maillard; +Cc: help-gnu-emacs, xahlee Xavier> I do not see why defaults should apply to newcomers, really. Because experienced users know how to change them. -- Paul ^ permalink raw reply [flat|nested] 76+ messages in thread
[parent not found: <mailman.2625.1225539334.25473.help-gnu-emacs@gnu.org>]
* Re: emacs-w3m question [not found] ` <mailman.2625.1225539334.25473.help-gnu-emacs@gnu.org> @ 2008-11-01 15:51 ` Richard Riley 2008-11-03 11:25 ` Xavier Maillard 0 siblings, 1 reply; 76+ messages in thread From: Richard Riley @ 2008-11-01 15:51 UTC (permalink / raw) To: help-gnu-emacs Xavier Maillard <xma@gnu.org> writes: > Xavier> For your information, many old computers do not have > Xavier> Up/Down/Left/Right keys thus making this as a default won't work > Xavier> for them. I never use these key due to my habits. Therefor > Xavier> I strongly disagree with you on that point. > > Defaults are for newcomers to quickly get hands on the thing. > > I do not see why defaults should apply to newcomers, really. > Defaults must apply to the mass (either power users or newcomers). > > Xavier The mass have arrow keys. As do 99.99999999999999999% of all new comers. -- important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday. ~Dennis Gabor, Innovations: Scientific, Technological and Social, 1970 ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-01 15:51 ` Richard Riley @ 2008-11-03 11:25 ` Xavier Maillard 2008-11-03 12:13 ` Richard Riley 0 siblings, 1 reply; 76+ messages in thread From: Xavier Maillard @ 2008-11-03 11:25 UTC (permalink / raw) To: Richard Riley; +Cc: help-gnu-emacs Xavier Maillard <xma@gnu.org> writes: > Xavier> For your information, many old computers do not have > Xavier> Up/Down/Left/Right keys thus making this as a default won't work > Xavier> for them. I never use these key due to my habits. Therefor > Xavier> I strongly disagree with you on that point. > > Defaults are for newcomers to quickly get hands on the thing. > > I do not see why defaults should apply to newcomers, really. > Defaults must apply to the mass (either power users or newcomers). > > Xavier The mass have arrow keys. As do 99.99999999999999999% of all new comers. Yes I have it on my laptop but I never used them because they are located to an improbable and unpractical location. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-03 11:25 ` Xavier Maillard @ 2008-11-03 12:13 ` Richard Riley 2008-11-03 23:25 ` Xavier Maillard [not found] ` <mailman.2907.1225862955.25473.help-gnu-emacs@gnu.org> 0 siblings, 2 replies; 76+ messages in thread From: Richard Riley @ 2008-11-03 12:13 UTC (permalink / raw) To: Xavier Maillard; +Cc: Richard Riley, help-gnu-emacs Xavier Maillard <xma@gnu.org> writes: > Xavier Maillard <xma@gnu.org> writes: > > > Xavier> For your information, many old computers do not have > > Xavier> Up/Down/Left/Right keys thus making this as a default won't work > > Xavier> for them. I never use these key due to my habits. Therefor > > Xavier> I strongly disagree with you on that point. > > > > Defaults are for newcomers to quickly get hands on the thing. > > > > I do not see why defaults should apply to newcomers, really. > > Defaults must apply to the mass (either power users or newcomers). > > > > Xavier > > The mass have arrow keys. As do 99.99999999999999999% of all new comers. > > Yes I have it on my laptop but I never used them because they are > located to an improbable and unpractical location. > > Xavier With all due respect, the location of the arrow keys on one laptop seem a dubious pivot for making decisions for a configurable base product which is aimed at a wide and varied user base. The great majority have arrow keys, the HW manufacturers built them in ( I haven't seen a keyboard without them for years). To ignore them because of a minorities poorly designed, antiquated or specialised HW seems somewhat silly. Are they the *best* things for hard core Emacs user? Possibly not. Would a lot of users be confused if they did not work as common sense dictates? Almost certainly. Having said that, I'm sure you are not arguing against configuring them. ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-03 12:13 ` Richard Riley @ 2008-11-03 23:25 ` Xavier Maillard [not found] ` <mailman.2907.1225862955.25473.help-gnu-emacs@gnu.org> 1 sibling, 0 replies; 76+ messages in thread From: Xavier Maillard @ 2008-11-03 23:25 UTC (permalink / raw) To: Richard Riley; +Cc: rileyrgdev, help-gnu-emacs Hi, Xavier Maillard <xma@gnu.org> writes: > Xavier Maillard <xma@gnu.org> writes: > > > Xavier> For your information, many old computers do not have > > Xavier> Up/Down/Left/Right keys thus making this as a default won't work > > Xavier> for them. I never use these key due to my habits. Therefor > > Xavier> I strongly disagree with you on that point. > > > > Defaults are for newcomers to quickly get hands on the thing. > > > > I do not see why defaults should apply to newcomers, really. > > Defaults must apply to the mass (either power users or newcomers). > > > > Xavier > > The mass have arrow keys. As do 99.99999999999999999% of all new comers. > > Yes I have it on my laptop but I never used them because they are > located to an improbable and unpractical location. > > Xavier With all due respect, the location of the arrow keys on one laptop seem a dubious pivot for making decisions for a configurable base product which is aimed at a wide and varied user base. The great majority have arrow keys, the HW manufacturers built them in ( I haven't seen a keyboard without them for years). To ignore them because of a minorities poorly designed, antiquated or specialised HW seems somewhat silly. Note: they are not easily accessible for *me*. It does not mean they are badly designed or wrongly placed. I am pretty sure many people use them and like that. I do not like to move my fingers too much thus keeping them on the most important part: letters. Are they the *best* things for hard core Emacs user? Possibly not. Would a lot of users be confused if they did not work as common sense dictates? Almost certainly. That makes me thing the not so glorious past days of the free software movement where creativity meant mimicry. Nevermind, it is becoming even more OT. Having said that, I'm sure you are not arguing against configuring them. Absolutely not. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org ^ permalink raw reply [flat|nested] 76+ messages in thread
[parent not found: <mailman.2907.1225862955.25473.help-gnu-emacs@gnu.org>]
* Re: emacs-w3m question [not found] ` <mailman.2907.1225862955.25473.help-gnu-emacs@gnu.org> @ 2008-11-05 13:23 ` Xah 0 siblings, 0 replies; 76+ messages in thread From: Xah @ 2008-11-05 13:23 UTC (permalink / raw) To: help-gnu-emacs On Nov 3, 3:25 pm, Xavier Maillard <x...@gnu.org> wrote: > Note: they are not easily accessible for *me*. It does not mean > they are badly designed or wrongly placed. I am pretty sure many > people use them and like that. I do not like to move my fingers > too much thus keeping them on the most important part: letters. i too, like to keep my hands on the main keyboard section as much as possible. Try these: ;; Single char cursor movement (global-set-key (kbd "M-j") 'backward-char) (global-set-key (kbd "M-l") 'forward-char) (global-set-key (kbd "M-i") 'previous-line) (global-set-key (kbd "M-k") 'next-line) ;; kick the habit (global-unset-key (kbd "C-f")) ; forward-char (global-unset-key (kbd "C-b")) ; backward-char (global-unset-key (kbd "C-n")) ; next-line (global-unset-key (kbd "C-p")) ; previous-line Try these for a week. The first few days will be frustrating, as your muscle memory hits the wrong keys. But i bet you won't ever go back. Xah ∑ http://xahlee.org/ ☄ ^ permalink raw reply [flat|nested] 76+ messages in thread
[parent not found: <mailman.2522.1225402310.25473.help-gnu-emacs@gnu.org>]
* Re: emacs-w3m question [not found] ` <mailman.2522.1225402310.25473.help-gnu-emacs@gnu.org> @ 2008-10-30 22:38 ` Xah 2008-11-03 11:25 ` Xavier Maillard [not found] ` <mailman.2764.1225711684.25473.help-gnu-emacs@gnu.org> 2008-11-01 13:03 ` Andreas Politz 1 sibling, 2 replies; 76+ messages in thread From: Xah @ 2008-10-30 22:38 UTC (permalink / raw) To: help-gnu-emacs Xah Lee wrote: > Here's what i do: > > (add-hook 'w3m-mode-hook > (lambda () > (define-key w3m-mode-map (kbd "<up>") 'previous-line) ; was w3m- > previous-anchor. Use Shift+Tab. > (define-key w3m-mode-map (kbd "<down>") 'next-line) ; was w3m-next- > anchor. Use Tab. > (define-key w3m-mode-map (kbd "<left>") 'backward-char) ; was w3m- > view-previous-page. Use B. > (define-key w3m-mode-map (kbd "<right>") 'forward-char) ; was w3m- > view-this-url. Use Enter. > )) > > i think it is good to make this default. More intuitive for emacs > users. Xavier Maillard <x...@gnu.org> wrote: > Hi, > For your information, many old computers do not have > Up/Down/Left/Right keys thus making this as a default won't work > for them. I never use these key due to my habits. Therefor I > strongly disagree with you on that point. in perhaps early 1990s, some keyboards do not have the arrow keys, or that some applications (in particular, terminal applications) do not necessarily support physical arrow keys by default. Today, i think more than 99.999% keyboards and applications support the physical arrows keys by default. The availablity of arrow keys i think is pretty much standard by mid 1990s, and their support in applications including term emulators is probably standard by 2000. Xah ∑ http://xahlee.org/ ☄ ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-10-30 22:38 ` Xah @ 2008-11-03 11:25 ` Xavier Maillard 2008-11-03 12:36 ` Paul R [not found] ` <mailman.2772.1225715774.25473.help-gnu-emacs@gnu.org> [not found] ` <mailman.2764.1225711684.25473.help-gnu-emacs@gnu.org> 1 sibling, 2 replies; 76+ messages in thread From: Xavier Maillard @ 2008-11-03 11:25 UTC (permalink / raw) To: Xah; +Cc: help-gnu-emacs in perhaps early 1990s, some keyboards do not have the arrow keys, or that some applications (in particular, terminal applications) do not necessarily support physical arrow keys by default. Today, i think more than 99.999% keyboards and applications support the physical arrows keys by default. The availablity of arrow keys i think is pretty much standard by mid 1990s, and their support in applications including term emulators is probably standard by 2000. At work, I still have oldies that still do not support these keys. What's more, directional keys are one of the dumbest addition one could have thought off (in my opinion). The same apply for numerical keypad: what are they useful for exactly ? Is it that hard to press shift+& (for the azerty keyboard) to get a 1 ? Or press C-b to move point left ? I do not think so. The real reason that comes to mind is lazyness. People do not want to (take time to) learn how to do things, they want to go fast (even if they go fast wrongly). Keyboard (or typing more generally) is just an example, there are so many other applying here... End of digression for me. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-03 11:25 ` Xavier Maillard @ 2008-11-03 12:36 ` Paul R 2008-11-03 23:25 ` Xavier Maillard [not found] ` <mailman.2772.1225715774.25473.help-gnu-emacs@gnu.org> 1 sibling, 1 reply; 76+ messages in thread From: Paul R @ 2008-11-03 12:36 UTC (permalink / raw) To: Xavier Maillard; +Cc: help-gnu-emacs, Xah Dear Xavier, Xavier> What's more, directional keys are one of the dumbest addition Xavier> one could have thought off (in my opinion). The same apply for Xavier> numerical keypad: what are they useful for exactly ? Is it that Xavier> hard to press shift+& (for the azerty keyboard) to get a 1 ? Or Xavier> press C-b to move point left ? I do not think so. Xavier> The real reason that comes to mind is lazyness. People do not Xavier> want to (take time to) learn how to do things, they want to go Xavier> fast (even if they go fast wrongly). Keyboard (or typing more Xavier> generally) is just an example, there are so many other applying Xavier> here... This sounds sooo much like overstated elitism. You may prefer to use C-b and C-f and S-&, because you're so good and so l33t, this will never change the point : beginners don't, period. Default settings must help those people, who have not yet set their .emacs, to use and try the software and see if they like it or not. -- Paul ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-03 12:36 ` Paul R @ 2008-11-03 23:25 ` Xavier Maillard 0 siblings, 0 replies; 76+ messages in thread From: Xavier Maillard @ 2008-11-03 23:25 UTC (permalink / raw) To: Paul R; +Cc: help-gnu-emacs, xahlee Dear Xavier, Xavier> What's more, directional keys are one of the dumbest addition Xavier> one could have thought off (in my opinion). The same apply for Xavier> numerical keypad: what are they useful for exactly ? Is it that Xavier> hard to press shift+& (for the azerty keyboard) to get a 1 ? Or Xavier> press C-b to move point left ? I do not think so. Xavier> The real reason that comes to mind is lazyness. People do not Xavier> want to (take time to) learn how to do things, they want to go Xavier> fast (even if they go fast wrongly). Keyboard (or typing more Xavier> generally) is just an example, there are so many other applying Xavier> here... This sounds sooo much like overstated elitism. You may prefer to use C-b and C-f and S-&, because you're so good and so l33t, this will never change the point : beginners don't, period. Default settings must help those people, who have not yet set their .emacs, to use and try the software and see if they like it or not. You do not agree; no need to tell me what I did not say. I just speak of HABITS. There is no elitism (voluntary or not) in saying that I do not use directional keys because a) I am not used to, b) they are not located to an easy and accessible place and c) because "oldies" are much more pleasant for me to type. As told, "end of digression for me" (for real now). Anyway, we won't agree since you are seing a flame/agression where there is not. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org ^ permalink raw reply [flat|nested] 76+ messages in thread
[parent not found: <mailman.2772.1225715774.25473.help-gnu-emacs@gnu.org>]
* Re: emacs-w3m question [not found] ` <mailman.2772.1225715774.25473.help-gnu-emacs@gnu.org> @ 2008-11-03 13:27 ` Richard Riley 2008-11-04 13:19 ` Chris McMahan 0 siblings, 1 reply; 76+ messages in thread From: Richard Riley @ 2008-11-03 13:27 UTC (permalink / raw) To: help-gnu-emacs Paul R <paul.r.ml@gmail.com> writes: > Dear Xavier, > > Xavier> What's more, directional keys are one of the dumbest addition > Xavier> one could have thought off (in my opinion). The same apply for > Xavier> numerical keypad: what are they useful for exactly ? Is it that > Xavier> hard to press shift+& (for the azerty keyboard) to get a 1 ? Or > Xavier> press C-b to move point left ? I do not think so. > > Xavier> The real reason that comes to mind is lazyness. People do not > Xavier> want to (take time to) learn how to do things, they want to go > Xavier> fast (even if they go fast wrongly). Keyboard (or typing more > Xavier> generally) is just an example, there are so many other applying > Xavier> here... > > This sounds sooo much like overstated elitism. You may prefer to use C-b > and C-f and S-&, because you're so good and so l33t, this will never > change the point : beginners don't, period. Default settings must help > those people, who have not yet set their .emacs, to use and try the > software and see if they like it or not. That's pretty much as I see it too. And only recently having become proficient enough with emacs once again I can attest to the difficulties involved in understanding some of the more antiquated defaults which do not take into account beginners. It takes a special kind of curmudgeon to deny that setting the arrow keys to move the cursor the same as virtually every other application in the world would help Emacs uptake. ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-03 13:27 ` Richard Riley @ 2008-11-04 13:19 ` Chris McMahan 2008-11-04 14:19 ` Richard Riley 2008-11-05 7:25 ` Xavier Maillard 0 siblings, 2 replies; 76+ messages in thread From: Chris McMahan @ 2008-11-04 13:19 UTC (permalink / raw) To: help-gnu-emacs Richard Riley <rileyrgdev@gmail.com> writes: > Paul R <paul.r.ml@gmail.com> writes: > >> Dear Xavier, >> >> Xavier> What's more, directional keys are one of the dumbest addition >> Xavier> one could have thought off (in my opinion). The same apply for >> Xavier> numerical keypad: what are they useful for exactly ? Is it that >> Xavier> hard to press shift+& (for the azerty keyboard) to get a 1 ? Or >> Xavier> press C-b to move point left ? I do not think so. >> >> Xavier> The real reason that comes to mind is lazyness. People do not >> Xavier> want to (take time to) learn how to do things, they want to go >> Xavier> fast (even if they go fast wrongly). Keyboard (or typing more >> Xavier> generally) is just an example, there are so many other applying >> Xavier> here... >> >> This sounds sooo much like overstated elitism. You may prefer to use C-b >> and C-f and S-&, because you're so good and so l33t, this will never >> change the point : beginners don't, period. Default settings must help >> those people, who have not yet set their .emacs, to use and try the >> software and see if they like it or not. > > That's pretty much as I see it too. And only recently having become > proficient enough with emacs once again I can attest to the difficulties > involved in understanding some of the more antiquated defaults which do > not take into account beginners. It takes a special kind of curmudgeon > to deny that setting the arrow keys to move the cursor the same as > virtually every other application in the world would help Emacs uptake. My only issue with making the arrow keys the default setting is that it forces me to take my hands away from the home keys. I don't like using page-up and page-down for the same reason. I'd have no objection as long as the standard cursor movement keys (C-n C-p C-f and C-b) are also enabled. - Chris -- (. .) =ooO=(_)=Ooo===================================== Chris McMahan | first_initiallastname@one.dot.net ================================================= ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-04 13:19 ` Chris McMahan @ 2008-11-04 14:19 ` Richard Riley 2008-11-05 7:25 ` Xavier Maillard 1 sibling, 0 replies; 76+ messages in thread From: Richard Riley @ 2008-11-04 14:19 UTC (permalink / raw) To: help-gnu-emacs Chris McMahan <cmcmahan@one.net> writes: > Richard Riley <rileyrgdev@gmail.com> writes: > >> Paul R <paul.r.ml@gmail.com> writes: >> >>> Dear Xavier, >>> >>> Xavier> What's more, directional keys are one of the dumbest addition >>> Xavier> one could have thought off (in my opinion). The same apply for >>> Xavier> numerical keypad: what are they useful for exactly ? Is it that >>> Xavier> hard to press shift+& (for the azerty keyboard) to get a 1 ? Or >>> Xavier> press C-b to move point left ? I do not think so. >>> >>> Xavier> The real reason that comes to mind is lazyness. People do not >>> Xavier> want to (take time to) learn how to do things, they want to go >>> Xavier> fast (even if they go fast wrongly). Keyboard (or typing more >>> Xavier> generally) is just an example, there are so many other applying >>> Xavier> here... >>> >>> This sounds sooo much like overstated elitism. You may prefer to use C-b >>> and C-f and S-&, because you're so good and so l33t, this will never >>> change the point : beginners don't, period. Default settings must help >>> those people, who have not yet set their .emacs, to use and try the >>> software and see if they like it or not. >> >> That's pretty much as I see it too. And only recently having become >> proficient enough with emacs once again I can attest to the difficulties >> involved in understanding some of the more antiquated defaults which do >> not take into account beginners. It takes a special kind of curmudgeon >> to deny that setting the arrow keys to move the cursor the same as >> virtually every other application in the world would help Emacs uptake. > > My only issue with making the arrow keys the default setting is that it > forces me to take my hands away from the home keys. I don't like using > page-up and page-down for the same reason. > > I'd have no objection as long as the standard cursor movement keys (C-n > C-p C-f and C-b) are also enabled. > > - Chris No one has suggested not keeping the existing bindings. But since the arrow keys are indeed bound by default I think in emacs 22 etc then it's more an argument of "whether" the keys should be bound :-; And of course they should. Xavier seems to be more of the view "do not bind them" since people will be "lazy". My cursor keys on a cherry kbd are to the right of the right ctrl key. I use them all the time and consider myself a reasonable emacs user. Every other app users them near enough. I dont see that emacs should be an exception. Note that I dont agree with Xah on everything but I do agree with Paul R above. ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-04 13:19 ` Chris McMahan 2008-11-04 14:19 ` Richard Riley @ 2008-11-05 7:25 ` Xavier Maillard 1 sibling, 0 replies; 76+ messages in thread From: Xavier Maillard @ 2008-11-05 7:25 UTC (permalink / raw) To: Chris McMahan; +Cc: help-gnu-emacs Richard Riley <rileyrgdev@gmail.com> writes: > Paul R <paul.r.ml@gmail.com> writes: > >> Dear Xavier, >> >> Xavier> What's more, directional keys are one of the dumbest addition >> Xavier> one could have thought off (in my opinion). The same apply for >> Xavier> numerical keypad: what are they useful for exactly ? Is it that >> Xavier> hard to press shift+& (for the azerty keyboard) to get a 1 ? Or >> Xavier> press C-b to move point left ? I do not think so. >> >> Xavier> The real reason that comes to mind is lazyness. People do not >> Xavier> want to (take time to) learn how to do things, they want to go >> Xavier> fast (even if they go fast wrongly). Keyboard (or typing more >> Xavier> generally) is just an example, there are so many other applying >> Xavier> here... >> >> This sounds sooo much like overstated elitism. You may prefer to use C-b >> and C-f and S-&, because you're so good and so l33t, this will never >> change the point : beginners don't, period. Default settings must help >> those people, who have not yet set their .emacs, to use and try the >> software and see if they like it or not. > > That's pretty much as I see it too. And only recently having become > proficient enough with emacs once again I can attest to the difficulties > involved in understanding some of the more antiquated defaults which do > not take into account beginners. It takes a special kind of curmudgeon > to deny that setting the arrow keys to move the cursor the same as > virtually every other application in the world would help Emacs uptake. My only issue with making the arrow keys the default setting is that it forces me to take my hands away from the home keys. I don't like using page-up and page-down for the same reason. I'd have no objection as long as the standard cursor movement keys (C-n C-p C-f and C-b) are also enabled. That is exactly what I wanted to mean in the first place. Gha, if only my english was better ! Thank you for the sum up :) Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org ^ permalink raw reply [flat|nested] 76+ messages in thread
[parent not found: <mailman.2764.1225711684.25473.help-gnu-emacs@gnu.org>]
[parent not found: <4d476218-bd76-4d41-8a12-1428dfba9e9b@s9g2000prg.googlegroups.com>]
* Re: emacs-w3m question [not found] ` <4d476218-bd76-4d41-8a12-1428dfba9e9b@s9g2000prg.googlegroups.com> @ 2008-11-05 7:25 ` Xavier Maillard [not found] ` <mailman.2966.1225952942.25473.help-gnu-emacs@gnu.org> ` (3 subsequent siblings) 4 siblings, 0 replies; 76+ messages in thread From: Xavier Maillard @ 2008-11-05 7:25 UTC (permalink / raw) To: Xah; +Cc: help-gnu-emacs Hi Xha, [what a long post ! :)] On Nov 3, 3:25 am, Xavier Maillard <x...@gnu.org> wrote: > in perhaps early 1990s, some keyboards do not have the arrow keys, or > that some applications (in particular, terminal applications) do not > necessarily support physical arrow keys by default. > > Today, i think more than 99.999% keyboards and applications support > the physical arrows keys by default. The availablity of arrow keys i > think is pretty much standard by mid 1990s, and their support in > applications including term emulators is probably standard by 2000. > > At work, I still have oldies that still do not support these > keys. What's more, directional keys are one of the dumbest > addition one could have thought off (in my opinion). The same > apply for numerical keypad: what are they useful for exactly ? Is > it that hard to press shift+& (for the azerty keyboard) to get a > 1 ? Or press C-b to move point left ? I do not think so. The numerical keypad, and the physical cursor moving keys, are technical superior to their counterparts in the main section of the keyboard for many applications. For example, if your job is data entry, the numerical keypad is much more efficient to operate than the numbers on top row of the main keys. I agree with that but all the job positions consisting in typing numerical data only, typing ZIP code is something that comes to mind (at least here in France), is done on a very simplified keypad with only numeric keys, <DEL> and <ENTER>. They would not need anything but these keys. In the same way, arrow keys, and the dedicated function keys for page up/down, home/end keys, are superior to key combos in the main section because they involve single key press with a clear label, and their physical layout makes them more efficient to operate. On a laptop, PG-UP/PG-DOWN or even Home/End are often combos to type either. For example on my laptop, you have to press the Fn key + directional keys if you want them. In that case, C-a/C-e are a lot quicker to type than Fn+left or Fn+right. My laptop keyboard is not an exception. You can test these by, for example, try to type a quarter page of phone numbers in a yellow book. (this is assuming that you do touch type on the numerical keypads. (e.g. you are not a noob who refuse to learn )) Similarly, you can try to play pacman by using the arrow keys, as compared to using Alt+n Alt+p Alt+f Alt+b, and see which one is more efficient. The cool thing with Alt or Ctrl keys is this: they are doubled (and I can even add other Alt/Ctrl keys by changing my dumpkey setup). For example, here I have two Alt (r and l), three Ctrl keys (one by default plus Caps Lock changed to Ctrl and Alt+Menu which is also Ctrl for me). So if it comes that Alt-n or other is hard to type with one Alt key, I could try to do it with the other possibilities making such movement globally better than if I had to look at my keyboard keys to search the directional keys. Like Chris told, I do not like to leave the "home keys" when typing. My fingers know where to go with few movements and by trying to decrease the risk to get a RSI. That's what matter the most for me. I do not type with my 10 fingers but only 6 and I feel very comfortable like that. [I will have to finish reading the rest of your post later :)] Regards, Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org ^ permalink raw reply [flat|nested] 76+ messages in thread
[parent not found: <mailman.2966.1225952942.25473.help-gnu-emacs@gnu.org>]
* Re: emacs-w3m question [not found] ` <mailman.2966.1225952942.25473.help-gnu-emacs@gnu.org> @ 2008-11-06 14:31 ` Xah 2008-11-06 16:32 ` Alan Mackenzie ` (2 more replies) 0 siblings, 3 replies; 76+ messages in thread From: Xah @ 2008-11-06 14:31 UTC (permalink / raw) To: help-gnu-emacs 2008-11-06 On Nov 4, 11:25 pm, Xavier Maillard <x...@gnu.org> wrote: > Like Chris told, I do not like to leave the "home keys" when > typing. My fingers know where to go with few movements and by > trying to decrease the risk to get a RSI. That's what matter the > most for me. I do not type with my 10 fingers but only 6 and I > feel very comfortable like that. you don't touch type? really, you should learn touch type. it pisses me when programers don't touch type. it is bizarre that these tech geekers get hotheaded in geeking forums about what keybindings should or should not be. like, i spent years thought about issues, such as modernization of emacs's interface, its keyboard shortcuts, its terminology ... then when i expressed these opinions thru detailed essays of few thousand words each, with examples, photos, reference sources, a throng of tech geekers think i'm a troll or my opinions are absolutely stupid ... in the past year, i changed my newsgroup behavior so that i actually try to reply to every message, then i came to realize thru individualistic discussions, that they never used Windows, never used Mac, which together are some 96% of world's computers emacs runs on, but they insist that emacs UI should be this or that. They don't touch type, but insist emacs keybindings should be this or that, none of them actually have basic knowledge in the field of user interface or human machine interface ... all you hear them say is basically “emacs should not dumb down” (whatever that means) or “emacs is not MicrosoftWord” (What the motherfuck is Microsoft?). ------------ y'know, it's weired, when u work in a day job, and sometimes you go over with colleagues and noticed that they dont touch type, you try very hard to pretend that you noticed nothing, and you wanted to laugh out loud with gasps, but can't. in fact, thinking about this from my personal experience of on and off working in the IT industry as day jobs since 1995, _majority_ of professional programers don't touch type. Thinking about it, it's quite ridiculous. A programer celebrity, Steve Yegge (author of js2 javascript mode), recently pulled his windpipe on programers who don't know how to touch type. Check it out: http://steve-yegge.blogspot.com/2008/09/programmings-dirtiest-little-secret.html that thing is what, 10 thousand words? LOL. He's more verbose than me. Who are you Xavier Maillard? I assume you are a emacs developer, and i think you probably used emacs for 5 or 10 or more years? if you are so inclined, let's meet in Second Life. I'm Xah Toll inworld. Best, Xah ∑ http://xahlee.org/ ☄ ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-06 14:31 ` Xah @ 2008-11-06 16:32 ` Alan Mackenzie 2008-11-06 18:12 ` Giorgos Keramidas [not found] ` <mailman.3000.1225988502.25473.help-gnu-emacs@gnu.org> 2 siblings, 0 replies; 76+ messages in thread From: Alan Mackenzie @ 2008-11-06 16:32 UTC (permalink / raw) To: Xah; +Cc: help-gnu-emacs A happy post-USA-election day to you, Xah! On Thu, Nov 06, 2008 at 06:31:02AM -0800, Xah wrote: > 2008-11-06 > On Nov 4, 11:25 pm, Xavier Maillard <x...@gnu.org> wrote: > > Like Chris told, I do not like to leave the "home keys" when typing. > > My fingers know where to go with few movements and by trying to > > decrease the risk to get a RSI. That's what matter the most for me. I > > do not type with my 10 fingers but only 6 and I feel very comfortable > > like that. > you don't touch type? I think, by his description, he does. "Touch type" meaning "not having to look at the keyboard to type". > it pisses me when programers don't touch type. ... amongst quite a lot of other things which piss you off, too. > it is bizarre that these tech geekers get hotheaded in geeking forums > about what keybindings should or should not be. :-) > like, i spent years thought about issues, such as modernization of > emacs's interface, its keyboard shortcuts, its terminology ... then > when i expressed these opinions thru detailed essays of few thousand > words each, with examples, photos, reference sources, a throng of tech > geekers think i'm a troll or my opinions are absolutely stupid ... ... No! Who on earth would think that? ;-) > in the past year, i changed my newsgroup behavior so that i actually > try to reply to every message, then i came to realize thru > individualistic discussions, that they never used Windows, never used > Mac, which together are some 96% of world's computers emacs runs on, > but they insist that emacs UI should be this or that. They don't touch > type, but insist emacs keybindings should be this or that, none of > them actually have basic knowledge in the field of user interface or > human machine interface ... all you hear them say is basically ???emacs > should not dumb down??? (whatever that means) or ???emacs is not > MicrosoftWord??? (What the ... is Microsoft?). Well, this "tech geeker", me (who is possibly your biggest fan amongst all "tech geekers" ;-), does indeed touch type. He has also used various versions of MS Windows extensively, and has dabbled on a Mac from time to time. > ------------ > y'know, it's weired, when u work in a day job, and sometimes you go > over with colleagues and noticed that they dont touch type, you try > very hard to pretend that you noticed nothing, and you wanted to laugh > out loud with gasps, but can't. Yes, it can make one feel so nauseatingly superior, can't it? > in fact, thinking about this from my personal experience of on and off > working in the IT industry as day jobs since 1995, _majority_ of > professional programers don't touch type. Thinking about it, it's quite > ridiculous. Indeed. But somehow, they get their jobs done. Can't imagine how, myself. Maybe hunt-and-peck typing isn't that bad after all. > A programer celebrity, Steve Yegge (author of js2 javascript mode), > recently pulled his windpipe on programers who don't know how to touch > type. Check it out: > http://steve-yegge.blogspot.com/2008/09/programmings-dirtiest-little-secret.html > that thing is what, 10 thousand words? LOL. He's more verbose than me. Good grief! I hadn't thought that possible, but you're right. ;-) > Who are you Xavier Maillard? I assume you are a emacs developer, and i > think you probably used emacs for 5 or 10 or more years? Well, Xah, one thing to consider is that help-gnu-emacs@gnu.org is moderated. It might just possibly be that Xavier is one of the moderators. Should that be the case, it could be to your advantage to be nice to him. In fact, it could be beneficial for you to keep your posts moderate enough that intervention by a moderator isn't required. ;-) > if you are so inclined, let's meet in Second Life. I'm Xah Toll > inworld. And you wonder why people think of you as a troll, with a mnemonic like that. ;-) > Best, And the best to you too, sir! > Xah -- Alan Mackenzie (Nuremberg, Germany). ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-06 14:31 ` Xah 2008-11-06 16:32 ` Alan Mackenzie @ 2008-11-06 18:12 ` Giorgos Keramidas 2008-11-07 1:22 ` Xah [not found] ` <mailman.3000.1225988502.25473.help-gnu-emacs@gnu.org> 2 siblings, 1 reply; 76+ messages in thread From: Giorgos Keramidas @ 2008-11-06 18:12 UTC (permalink / raw) To: help-gnu-emacs On Thu, 6 Nov 2008 06:31:02 -0800 (PST), Xah <xahlee@gmail.com> wrote: > in the past year, i changed my newsgroup behavior so that i actually > try to reply to every message, then i came to realize thru > individualistic discussions, that they never used Windows, never used > Mac, which together are some 96% of world's computers emacs runs on, > but they insist that emacs UI should be this or that. 96% of statistics are made up. I don't think Emacs has so _many_ Windows users. I know that a lot of people who use Emacs in other platforms like the Windows ports of Emacs too, but I highly doubt *all* the Windows users know about Emacs :) ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-06 18:12 ` Giorgos Keramidas @ 2008-11-07 1:22 ` Xah 2008-11-07 3:50 ` Giorgos Keramidas 0 siblings, 1 reply; 76+ messages in thread From: Xah @ 2008-11-07 1:22 UTC (permalink / raw) To: help-gnu-emacs On Nov 6, 10:12 am, Giorgos Keramidas <keram...@ceid.upatras.gr> wrote: > On Thu, 6 Nov 2008 06:31:02 -0800 (PST), Xah <xah...@gmail.com> wrote: > > in the past year, i changed my newsgroup behavior so that i actually > > try to reply to every message, then i came to realize thru > > individualistic discussions, that they never used Windows, never used > > Mac, which together are some 96% of world's computers emacs runs on, > > but they insist that emacs UI should be this or that. > > 96% of statistics are made up. by ur mom? > I don't think Emacs has so _many_ Windows users. How many? > I know that a lot of people who use Emacs in other > platforms like the Windows ports of Emacs too, but I highly doubt *all* > the Windows users know about Emacs :) on the whole, do u have a point? Xah ∑ http://xahlee.org/ ☄ ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-07 1:22 ` Xah @ 2008-11-07 3:50 ` Giorgos Keramidas 2008-11-07 5:42 ` Xah 0 siblings, 1 reply; 76+ messages in thread From: Giorgos Keramidas @ 2008-11-07 3:50 UTC (permalink / raw) To: help-gnu-emacs On Thu, 6 Nov 2008 17:22:33 -0800 (PST), Xah <xahlee@gmail.com> wrote: >On Nov 6, 10:12 am, Giorgos Keramidas <keram...@ceid.upatras.gr> wrote: >>On Thu, 6 Nov 2008 06:31:02 -0800 (PST), Xah <xah...@gmail.com> wrote: >>> in the past year, i changed my newsgroup behavior so that i actually >>> try to reply to every message, then i came to realize thru >>> individualistic discussions, that they never used Windows, never used >>> Mac, which together are some 96% of world's computers emacs runs on, >>> but they insist that emacs UI should be this or that. >> >> 96% of statistics are made up. > > by ur mom? I guess she has her own share of false statistics, like me, you and everyone else :) >> I don't think Emacs has so _many_ Windows users. > > How many? It wasn't me who hinted at a 96% percentage of the world's computers, so asking _me_ to provide the number is a bit unrealistic. >> I know that a lot of people who use Emacs in other platforms like the >> Windows ports of Emacs too, but I highly doubt *all* the Windows >> users know about Emacs :) > > on the whole, do u have a point? Yes. Please don't use made up numbers to insult the people who designed the UI of Emacs. Some of them have used Windows too. For a long time. Long enough to get down and actually *port* Emacs on the platform. ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-07 3:50 ` Giorgos Keramidas @ 2008-11-07 5:42 ` Xah 2008-11-07 7:48 ` Giorgos Keramidas 0 siblings, 1 reply; 76+ messages in thread From: Xah @ 2008-11-07 5:42 UTC (permalink / raw) To: help-gnu-emacs hi dork Giorgos Keramidas, the mention of Mac and Windows, is to give a context for the expression that tech geeking morons who never used 95% of the world's computers yet insist on how emacs's UI should or should not be. It is not, for example, about ur mom. Xah ∑ http://xahlee.org/ ☄ On Nov 6, 7:50 pm, Giorgos Keramidas <keram...@ceid.upatras.gr> wrote: > On Thu, 6 Nov 2008 17:22:33 -0800 (PST), Xah <xah...@gmail.com> wrote: > >On Nov 6, 10:12 am, Giorgos Keramidas <keram...@ceid.upatras.gr> wrote: > >>On Thu, 6 Nov 2008 06:31:02 -0800 (PST), Xah <xah...@gmail.com> wrote: > >>> in the past year, i changed my newsgroup behavior so that i actually > >>> try to reply to every message, then i came to realize thru > >>> individualistic discussions, that they never used Windows, never used > >>> Mac, which together are some 96% of world's computers emacs runs on, > >>> but they insist that emacs UI should be this or that. > > >> 96% of statistics are made up. > > > by ur mom? > > I guess she has her own share of false statistics, like me, you and > everyone else :) > > >> I don't think Emacs has so _many_ Windows users. > > > How many? > > It wasn't me who hinted at a 96% percentage of the world's computers, so > asking _me_ to provide the number is a bit unrealistic. > > >> I know that a lot of people who use Emacs in other platforms like the > >> Windows ports of Emacs too, but I highly doubt *all* the Windows > >> users know about Emacs :) > > > on the whole, do u have a point? > > Yes. Please don't use made up numbers to insult the people who designed > the UI of Emacs. Some of them have used Windows too. For a long time. > Long enough to get down and actually *port* Emacs on the platform. ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-07 5:42 ` Xah @ 2008-11-07 7:48 ` Giorgos Keramidas 2008-11-07 8:07 ` Xah 0 siblings, 1 reply; 76+ messages in thread From: Giorgos Keramidas @ 2008-11-07 7:48 UTC (permalink / raw) To: help-gnu-emacs On Thu, 6 Nov 2008 21:42:21 -0800 (PST), Xah <xahlee@gmail.com> wrote: > hi dork Giorgos Keramidas, > > the mention of Mac and Windows, is to give a context for the > expression that tech geeking morons who never used 95% of the world's > computers yet insist on how emacs's UI should or should not be. > > It is not, for example, about ur mom. Right. Well, that makes things more sensible (not). I fail to see where my mom's use of Windows (yes, she does use Windows) has anything to do with the UI of Emacs, but I can assure you that the UI is not her main difficulty when it comes to Emacs. Localized menus and a fully translated Greek manual would be more important to her and all the people who speak and write Greek, but have not had the chance to read English. Fixing *that* would be a much more important thing than agonizing about the key bindings if you ask me! ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-07 7:48 ` Giorgos Keramidas @ 2008-11-07 8:07 ` Xah 0 siblings, 0 replies; 76+ messages in thread From: Xah @ 2008-11-07 8:07 UTC (permalink / raw) To: help-gnu-emacs On Nov 6, 11:48 pm, Giorgos Keramidas <keram...@ceid.upatras.gr> wrote: > On Thu, 6 Nov 2008 21:42:21 -0800 (PST), Xah <xah...@gmail.com> wrote: > > hi dork Giorgos Keramidas, > > > the mention of Mac and Windows, is to give a context for the > > expression that tech geeking morons who never used 95% of the world's > > computers yet insist on how emacs's UI should or should not be. > > > It is not, for example, about ur mom. > > Right. Well, that makes things more sensible (not). > > I fail to see where my mom's use of Windows (yes, she does use Windows) > has anything to do with the UI of Emacs, but I can assure you that the > UI is not her main difficulty when it comes to Emacs. > > Localized menus and a fully translated Greek manual would be more > important to her and all the people who speak and write Greek, but have > not had the chance to read English. Fixing *that* would be a much more > important thing than agonizing about the key bindings if you ask me! well not if u ask me. Fixing her language skill would be greater benefit to her life. However, what's this with to do with emacs UI? your mom said? Xah ∑ http://xahlee.org/ ☄ ^ permalink raw reply [flat|nested] 76+ messages in thread
[parent not found: <mailman.3000.1225988502.25473.help-gnu-emacs@gnu.org>]
* Re: emacs-w3m question [not found] ` <mailman.3000.1225988502.25473.help-gnu-emacs@gnu.org> @ 2008-11-07 1:01 ` Xah 2008-11-07 10:04 ` Alan Mackenzie [not found] ` <mailman.3052.1226051600.25473.help-gnu-emacs@gnu.org> 0 siblings, 2 replies; 76+ messages in thread From: Xah @ 2008-11-07 1:01 UTC (permalink / raw) To: help-gnu-emacs On Nov 6, 8:32 am, Alan Mackenzie <a...@muc.de> wrote: > A happy post-USA-election day to you, Xah! it is fantastic that Obama won! > I think, by his description, he does. "Touch type" meaning "not having > to look at the keyboard to type". using 6 fingers instead 10 is not considered touch typing. http://en.wikipedia.org/wiki/Touch_typing > Well, this "tech geeker", me (who is possibly your biggest fan amongst > all "tech geekers" ;-), does indeed touch type. He has also used various > versions of MS Windows extensively, and has dabbled on a Mac from time to > time. Recently you asked me a bunch of questions on Aquamac in “comp.lang.lisp”. I was surprised you didn't know the answers for someone who insists on some opinions about emacs UI. Aquamacs is relevant because it modernize emacs wholesale and it is probably most popular emacs on the Mac platform. Xah ∑ http://xahlee.org/ ☄ ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-07 1:01 ` Xah @ 2008-11-07 10:04 ` Alan Mackenzie 2008-11-07 10:29 ` Paul R 2008-11-10 21:25 ` Xavier Maillard [not found] ` <mailman.3052.1226051600.25473.help-gnu-emacs@gnu.org> 1 sibling, 2 replies; 76+ messages in thread From: Alan Mackenzie @ 2008-11-07 10:04 UTC (permalink / raw) To: Xah; +Cc: help-gnu-emacs Morning, Xah! On Thu, Nov 06, 2008 at 05:01:12PM -0800, Xah wrote: > On Nov 6, 8:32 am, Alan Mackenzie <a...@muc.de> wrote: > > A happy post-USA-election day to you, Xah! > it is fantastic that Obama won! And yesterday in Scotland, the Labour party, the party of British government, held on to their parliamentary seat for Glenrothes, against the strong expectation that the Scottish National Party, the party of Scottish government, would win it. > > I think, by his description, he does. "Touch type" meaning "not > > having to look at the keyboard to type". > using 6 fingers instead 10 is not considered touch typing. "Is not considered" :-). I don't think we should be so concerned to divide people (or even things) into categories. Pluto is just the same lump of rock and ice it always was, whether we call it a planet or not. Of course, there's also the possibility that the man only has 6 usable fingers. It works for him. > > Well, this "tech geeker", me (who is possibly your biggest fan > > amongst all "tech geekers" ;-), does indeed touch type. He has also > > used various versions of MS Windows extensively, and has dabbled on a > > Mac from time to time. > Recently you asked me a bunch of questions on Aquamac in > ???comp.lang.lisp???. I was surprised you didn't know the answers for > someone who insists on some opinions about emacs UI. Aquamacs is > relevant because it modernize emacs wholesale and it is probably most > popular emacs on the Mac platform. I don't know any Mac Emacs users, so I couldn't comment on its popularity. But we've had this discussion several times. Modern isn't necessarily better. Modern is easier for newbies familiar with other programs to learn, but there's no evidence that, once learnt, it's any better than the classic Emacs UI. Do you address this matter anywhere in your online essays? My own experience is that Emacs's classic UI is much better. One reason to believe Emacs UI should be superior is that it was developed by the people who use it, for their own use. > Xah -- Alan Mackenzie (Nuremberg, Germany). ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-07 10:04 ` Alan Mackenzie @ 2008-11-07 10:29 ` Paul R 2008-11-07 23:51 ` Alan Mackenzie 2008-11-10 21:25 ` Xavier Maillard 2008-11-10 21:25 ` Xavier Maillard 1 sibling, 2 replies; 76+ messages in thread From: Paul R @ 2008-11-07 10:29 UTC (permalink / raw) To: Alan Mackenzie; +Cc: help-gnu-emacs, Xah Hello, > > A happy post-USA-election day to you, Xah! >> it is fantastic that Obama won! Alan> And yesterday in Scotland, the Labour party, the party of British Alan> government, held on to their parliamentary seat for Glenrothes, Alan> against the strong expectation that the Scottish National Party, Alan> the party of Scottish government, would win it. And french president, currently European Union president for 2 months more, recently gave a speech in which he said that he does not want to leave this european seat when time comes (IIRC, Tchek Republic is supposed to take over after France in january ). He argued that given the "current crisis", the european presidency ought to be strong, very wise and skilled, hence he is the only one able to do the job (still according to him). Cock really is a good emblem for our country, as it is the only known animal that keeps singing even with both foot in his own poo :) Alan> But we've had this discussion several times. Modern isn't Alan> necessarily better. Modern is easier for newbies familiar with Alan> other programs to learn, but there's no evidence that, once Alan> learnt, it's any better than the classic Emacs UI. Do you address Alan> this matter anywhere in your online essays? My own experience is Alan> that Emacs's classic UI is much better. One reason to believe Alan> Emacs UI should be superior is that it was developed by the people Alan> who use it, for their own use. Although I agree with that, I think it is important to keep in mind that emacs frighten a lot of people when they first try it, and a lot of those people may drop it forever because of this first impression. I think newcomers are young and have time to realize what bindings are convenients or not in everyday use, and emacs should not impose, by default, a map that makes it practicaly unusable to anybody coming from the "CUA world". Yes, they can learn. No, they don't want to learn before trying, and I can understand that. -- Paul ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-07 10:29 ` Paul R @ 2008-11-07 23:51 ` Alan Mackenzie 2008-11-08 1:14 ` Lennart Borgman 2008-11-10 21:25 ` Xavier Maillard 1 sibling, 1 reply; 76+ messages in thread From: Alan Mackenzie @ 2008-11-07 23:51 UTC (permalink / raw) To: Paul R; +Cc: help-gnu-emacs Hi, Paul! On Fri, Nov 07, 2008 at 11:29:50AM +0100, Paul R wrote: > Hello, > And french president, currently European Union president for 2 months > more, recently gave a speech in which he said that he does not want to > leave this european seat when time comes (IIRC, Tchek Republic is > supposed to take over after France in january ). He argued that given > the "current crisis", the european presidency ought to be strong, very > wise and skilled, hence he is the only one able to do the job (still > according to him). Cock really is a good emblem for our country, as it > is the only known animal that keeps singing even with both foot in his > own poo :) Ah, yes, politicians! I suspect Monsieur S. will be told that, come Hogmanay, his time's up. > Alan> But we've had this discussion several times. Modern isn't > Alan> necessarily better. Modern is easier for newbies familiar with > Alan> other programs to learn, but there's no evidence that, once > Alan> learnt, it's any better than the classic Emacs UI. Do you address > Alan> this matter anywhere in your online essays? My own experience is > Alan> that Emacs's classic UI is much better. One reason to believe > Alan> Emacs UI should be superior is that it was developed by the people > Alan> who use it, for their own use. > Although I agree with that, I think it is important to keep in mind > that emacs frighten a lot of people when they first try it, and a lot > of those people may drop it forever because of this first impression. > I think newcomers are young and have time to realize what bindings are > convenients or not in everyday use, and emacs should not impose, by > default, a map that makes it practicaly unusable to anybody coming from > the "CUA world". Yes, they can learn. No, they don't want to learn > before trying, and I can understand that. Yes, this is a difficult problem. The other side is, that if you don't encourage newbies to try the classic Emacs keybindings, they're going to be stuck at the CUA level for ever, hence they'll miss out. This has been discussed on the Emacs development mailing list at great length, and there has been great passion displayed on both sides. ;-) I don't think there is a good solution to the problem. FWIW, Transient Mark Mode is going to be enabled by default in Emacs 23. My part solution is to have several default Emacs "personalities" - or perhaps better called "Emacsicalities" - perhaps 2 or 3 of them. Each one would be implemented by a Lisp file setting certain defaults. So, the "CUA Emacsicality" would enable cua-mode, and maybe one or two other things, "Classic Emacsicality" would leave all settings at their optimum-for-experts. The startup screen would prompt the user to chose his desired Emacsicality, but would at the same time encourage her to switch to "classic" for the ultimate experience. Obviously, you'd set some sort of option for this after the first 2 or 3 times. However, like everything else in Emacs, good ideas only happen when the person with the idea implements it. Maybe I should try this once Emacs 23's been released. > Paul -- Alan Mackenzie (Nuremberg, Germany). ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-07 23:51 ` Alan Mackenzie @ 2008-11-08 1:14 ` Lennart Borgman 0 siblings, 0 replies; 76+ messages in thread From: Lennart Borgman @ 2008-11-08 1:14 UTC (permalink / raw) To: Alan Mackenzie; +Cc: help-gnu-emacs, Paul R [-- Attachment #1: Type: text/plain, Size: 1018 bytes --] On Sat, Nov 8, 2008 at 12:51 AM, Alan Mackenzie <acm@muc.de> wrote: > My part solution is to have several default Emacs "personalities" - or > perhaps better called "Emacsicalities" - perhaps 2 or 3 of them. Each > one would be implemented by a Lisp file setting certain defaults. So, > the "CUA Emacsicality" would enable cua-mode, and maybe one or two other > things, "Classic Emacsicality" would leave all settings at their > optimum-for-experts. The startup screen would prompt the user to chose > his desired Emacsicality, but would at the same time encourage her to > switch to "classic" for the ultimate experience. Obviously, you'd set > some sort of option for this after the first 2 or 3 times. > > However, like everything else in Emacs, good ideas only happen when the > person with the idea implements it. Maybe I should try this once Emacs > 23's been released. Have no fear, you are not alone on this road. May friends be with you! (I think I might have sent this to Emacs devel once, not sure.) [-- Attachment #2: rebind.el --] [-- Type: text/plain, Size: 7096 bytes --] ;;; rebind.el --- Rebind keys ;; ;; Author: Lennart Borgman (lennart O borgman A gmail O com) ;; Created: 2008-01-20T12:04:37+0100 Sun ;; Version: ;; Last-Updated: ;; URL: ;; Keywords: ;; Compatibility: ;; ;; Features that might be required by this library: ;; ;; None ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;;; Commentary: ;; ;; See `rebind-keys-mode' for information. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;;; Change log: ;; ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation; either version 2, or ;; (at your option) any later version. ;; ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;; General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License ;; along with this program; see the file COPYING. If not, write to ;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth ;; Floor, Boston, MA 02110-1301, USA. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;;; Code: (require 'new-key-seq-widget) (defun rebind-toggle-first-modifier (orig-key-seq mod) (let* ((first (elt orig-key-seq 0)) (new-key-seq (copy-sequence orig-key-seq))) (setq first (if (memq mod first) (delq mod first) (cons mod first))) (aset new-key-seq 0 first) new-key-seq)) ;; (rebind-toggle-first-modifier (key-description-to-vector "C-c a") 'shift) ;; (rebind-toggle-first-modifier (key-description-to-vector "C-S-c a") 'shift) (defconst rebind-keys-mode-map (make-sparse-keymap)) (defun rebind-update-keymap (symbol value) ;(lwarn t :warning "value=%S" value) (let ((m (make-sparse-keymap))) (dolist (group value) ;(lwarn t :warning "group=%S" group) (when (nth 1 group) (dolist (v (nth 2 group)) (let* ( (orig-key (nth 0 v)) (comment (nth 1 v)) (enabled (nth 2 v)) (new-choice (nth 3 v)) (new-fun (nth 4 v)) (orig-fun (lookup-key global-map orig-key)) new-key) (when new-choice (if (memq new-choice '(meta control shift)) (setq new-key (rebind-toggle-first-modifier orig-key new-choice)) (setq new-key new-choice)) (define-key m new-key orig-fun)) (when enabled (define-key m orig-key new-fun)))) (setq rebind-keys-mode-map m)) (set-default symbol value)))) (defvar widget-commandp-prompt-value-history nil) (define-widget 'command 'function "A major mode lisp function." :complete-function (lambda () (interactive) (lisp-complete-symbol 'commandp)) :prompt-match 'major-modep :prompt-history 'widget-commandp-prompt-value-history :match-alternatives '(commandp) :validate (lambda (widget) (unless (major-modep (widget-value widget)) (widget-put widget :error (format "Invalid function: %S" (widget-value widget))) widget)) :value 'fundamental-mode :tag "Command function") ;; (customize-option 'rebind-keys) (defcustom rebind-keys ;; (Fetched key bindings from http://www.davidco.com/tips_tools/tip45.html) '( ("MS Windows - often used key bindings" t ( ( [(control ?a)] "C-a on w32 normally means 'select all'. In Emacs it is `beginning-of-line'." t shift mark-whole-buffer) ( [(control ?o)] "C-o on w32 normally means 'open file'. In Emacs it is `open-line'." nil shift find-file) ( [(control ?f)] "C-f is commonly search on w32. In Emacs it is `forward-char'." nil shift isearch-forward) ( [(control ?s)] "C-s is normally 'save file' on w32. In Emacs it is `isearch-forward'." nil nil save-buffer) ( [(control ?w)] "C-w is often something like kill-buffer on w32. In Emacs it is `kill-region'." t shift kill-buffer) ( [(control ?p)] "C-p is nearly always print on w32. In Emacs it is `previous-line'." t shift hfyview-buffer) ))) "Normal Emacs keys that are remapped to follow some other standard. The purpose of this variable is to make it easy to switch between Emacs key bindings and other standards. The new bindings is made in the global minor mode `rebind-keys-mode' and will only have effect when this mode is on. You can only move functions bound in the global key map this way." :type '(repeat (list (string :tag "For what") (boolean :tag "Group on/off") (repeat (list (key-sequence :tag "Emacs key binding") (string :tag "Why rebind") (boolean :tag "Rebinding on/off") (choice :tag "Move original by" (const :tag "Don't put it on any new binding" nil) (choice :tag "Add key binding modifier" (const meta) (const control) (const shift)) (key-sequence :tag "New binding for original function")) (command :tag "New command on above key")) ))) :set 'rebind-update-keymap :group 'emacsw32 ) (defconst rebind--emul-keymap-alist (list (cons 'rebind-keys-mode rebind-keys-mode-map))) (defun rebind-keys-post-command () "Make sure we are first in the list when turned on. This is reasonable since we are using this mode to really get the key bindings we want!" (setq emulation-mode-map-alists (delq 'rebind--emul-keymap-alist emulation-mode-map-alists)) (when rebind-keys-mode (add-to-list 'emulation-mode-map-alists 'rebind--emul-keymap-alist))) (define-minor-mode rebind-keys-mode "Rebind keys as defined in `rebind-keys'. The key bindings will override almost all other key bindings." :keymap rebind-keys-mode-map :global t (if rebind-keys-mode (add-hook 'post-command-hook 'rebind-keys-post-command) (remove-hook 'post-command-hook 'rebind-keys-post-command) (setq emulation-mode-map-alists (delq 'rebind--emul-keymap-alist emulation-mode-map-alists)))) (provide 'rebind) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; rebind.el ends here ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-07 10:29 ` Paul R 2008-11-07 23:51 ` Alan Mackenzie @ 2008-11-10 21:25 ` Xavier Maillard 1 sibling, 0 replies; 76+ messages in thread From: Xavier Maillard @ 2008-11-10 21:25 UTC (permalink / raw) To: Paul R; +Cc: help-gnu-emacs, xahlee Yes, they can learn. No, they don't want to learn before trying, and I can understand that. Indeed just like when somebody learns to read by reading. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-07 10:04 ` Alan Mackenzie 2008-11-07 10:29 ` Paul R @ 2008-11-10 21:25 ` Xavier Maillard 1 sibling, 0 replies; 76+ messages in thread From: Xavier Maillard @ 2008-11-10 21:25 UTC (permalink / raw) To: Alan Mackenzie; +Cc: help-gnu-emacs, xahlee > using 6 fingers instead 10 is not considered touch typing. "Is not considered" :-). I don't think we should be so concerned to divide people (or even things) into categories. Pluto is just the same lump of rock and ice it always was, whether we call it a planet or not. Of course, there's also the possibility that the man only has 6 usable fingers. It works for him. More or less, it is the case. I have small hands and it is hard for me to make them moving everywhere on the keyboard. Anyway, I am not a developer in real life so... (hacking is made on my leisure time) :) Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org ^ permalink raw reply [flat|nested] 76+ messages in thread
[parent not found: <mailman.3052.1226051600.25473.help-gnu-emacs@gnu.org>]
* Re: emacs-w3m question [not found] ` <mailman.3052.1226051600.25473.help-gnu-emacs@gnu.org> @ 2008-11-07 17:43 ` Xah 0 siblings, 0 replies; 76+ messages in thread From: Xah @ 2008-11-07 17:43 UTC (permalink / raw) To: help-gnu-emacs Alan Mackenzie wrote: > > > I think, by his description, he does. "Touch type" meaning "not > > > having to look at the keyboard to type". > > using 6 fingers instead 10 is not considered touch typing. > > "Is not considered" :-). I don't think we should be so concerned to > divide people (or even things) into categories. Pluto is just the same > lump of rock and ice it always was, whether we call it a planet or not. Dear Alan moron, nor is this about skin color. If you are a moron, dressing well doesn't change the fact, > I don't know any Mac Emacs users, so I couldn't comment on its > popularity. the question is not about whether you know or don't know mac emacs users. It's about you lacking requisite knowledge yet insist on your opinion about the subject. > But we've had this discussion several times. Modern isn't necessarily > better. Modern is easier for newbies familiar with other programs to > learn, but there's no evidence that, once learnt, it's any better than > the classic Emacs UI. Do you address this matter anywhere in your online > essays? My own experience is that Emacs's classic UI is much better. > One reason to believe Emacs UI should be superior is that it was > developed by the people who use it, for their own use. yes it's addressed in my essay, under the FAQ section. In fact, this has been addressed so many times, just about every few months. It's quite amazing that some thoughts just never registers in tech geeker' brain. See: The Modernization of Emacs http://xahlee.org/emacs/modernization.html The FAQ section starting near the middle of page. Here's a excerpt of the section. Q: Emacs's ways are technically superior. It should not change. Emac's user interface, when compared to modern software application's user interface, is complex and unusual, however, there's no basis whatsoever of it being actually a superior design with regards to any sensible metrics. (in fact, much of emacs's user interface are due to historical reasons. That is, how computers are in 1980s.) For example, let's consider emacs's system of keyboard shortcuts. For a keyboard shortcut system, we might judge its quality based on several aspects. Here are some examples of consideration: * Is it easy to learn? (is it familiar to most people? Is it easy to remember?) * Is it ergonomic? (Are most frequently used commands's keyboard shortcuts easy to type? Are more frequently used commands have easier to type shortcuts than less frequently used commands?) * Are most frequently used commands all have a keyboard shortcut? * Is the shortcut system somehow consistent and extensible? Emacs's keyboard shortcuts system, is good only with respect to the last item. Emacs keyboard shortcuts are perhaps one of the most difficult to learn among software, and is also one of the most difficult to remember. The worst aspect of emacs's keyboard shortcuts, is that it is ergonomically painful. (Many emacs-using programer celebrities have injured their hands with emacs. (e.g. Richard Stallman↗, Jamie Zawinski↗, Ben Wing↗), and emacs's Ctrl and Meta combinations are most cited as the major turn-off to potential users among programers) Computer keyboard is a hardware interface, and the mapping of commands to the key press combinations can be considered from a Operation Research (ergonomic) point of view. The keyboard hardware itself can be designed with consideration of ergonomics↗ (that's why we have split and curved keyboards), but consideration of what functions to map to what key presses is also non-trivial if the software has large number of functions, or if the software is mission critical, or the software is used for repetitive, long durations of human-machine interaction (such as data-entry, programing, writing). Think of it this way: consider a airplane cockpit, filled with knobs, dials, buttons, and switches. Now, if your job is to map the airplane control functions to these switches, what are the issues to consider? If we take careful consideration on creating a keyboard shortcut system for emacs, it is not difficult to create a system that is superior in some pure technical sense than the emacs's shortcut system. For some detail, see: Why Emacs's Keyboard Shortcuts Are Painful. Aside from keyboard shortcuts system, other user interface aspects of emacs are also questionable. For example, one major aspect of emacs operation is that it uses a single window for multiple purposes and files. Emacs is this way not because of a design decision, but rather due to historical reasons. Computer resources in the 1980s are very limited. When emacs is around, graphical system of showing “windows” is not practically available, and the emacs's method of using the screen (the monochrome text-only monitor) for presenting multiple tasks (“buffers”) is actually a very advanced user interface design not available in software of that era. When graphical systems becomes practical in the 1990s, drawing a window still takes a lot memory, and opening multiple windows is slow and impractical. Modern software interface (say, post 2000) usually uses one window per file (or task), and or show tabs if multiple tasks are represented in a single window. However, emacs's buffer system doesn't provide the tabs visual clue. Compared to the modern standard of tabbed window, emacs's buffer interface is inferior because it is less intuitive. Arguably, emacs's operation methods may be more efficient for expert users. 20 years ago, efficiency for expert users may out weight the ease of use for majority of average users. But in today computing era, computers are standard tools in every household, efficiency and ease of use for general users is as important for professional users. Even for professional users, it is openly questionable that emacs's ways of operation induced by its default user interface allows more efficient operation than a user interface based on modern software conventions. (this can be certified by having 2 team of programmers roughly equally experienced or skilled in using emacs. One team use Emacs with default UI setup, the other use a emacs with modernized interface (such as Mac's Aquamacs), then compare their efficiency in finishing a set of coding tasks.) Note: we are not disputing the general power, flexibility, and qualities of emacs. Emacs, with a powerful embedded language lisp, and consequently embodies many software applications other than text editing (email, ftp, dired, calc, ...etc), has induced certain system of user interface that is all consistent and unique in comparison to modern software applications. We do not advocate that this is bad. Specifically, we only propose a very few trivial items for interface or documentation changes as listed in this article. Most are simply turning on some features by feault and or changing some terminologies in the documentation. They have no bearings on how emacs operate in general. Xah ∑ http://xahlee.org/ ☄ ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question [not found] ` <4d476218-bd76-4d41-8a12-1428dfba9e9b@s9g2000prg.googlegroups.com> 2008-11-05 7:25 ` Xavier Maillard [not found] ` <mailman.2966.1225952942.25473.help-gnu-emacs@gnu.org> @ 2008-11-06 18:02 ` Alan Mackenzie 2008-11-07 6:24 ` Kevin Rodgers [not found] ` <mailman.3010.1225993912.25473.help-gnu-emacs@gnu.org> 2008-11-09 6:26 ` Wei Weng 4 siblings, 1 reply; 76+ messages in thread From: Alan Mackenzie @ 2008-11-06 18:02 UTC (permalink / raw) To: Xah; +Cc: help-gnu-emacs Hi, yet again, Xah! On Mon, Nov 03, 2008 at 05:48:14PM -0800, Xah wrote: > For example, if your job is data entry, the numerical keypad is much > more efficient to operate than the numbers on top row of the main keys. If your job is programming, and you touch type, the digits on the top row are much easier to use than the numeric keypad. Isn't it good we've got this choice! > In the same way, arrow keys, and the dedicated function keys for page > up/down, home/end keys, are superior to key combos in the main section > because they involve single key press with a clear label, and their > physical layout makes them more efficient to operate. If you spend your day working arrow keys, yes. If you're moving randomly over text, making rapid amendments, the C-n, C-v, .... are better, because you don't have to take your RH away from the home keys. [ .... ] > For example, one particular aspect of emacs, its system of keybindings, > are in fact the worst possible. You could make a far worse set of bindings. For example somebody (Miles?) has written a set that "turns letters upside down". E.g., when you type 'd' you get 'p', and vice versa. > The Swapping of Control and Meta Modifiers > Emacs's keyboard shortcuts is very inefficient. The primary cause is > because, emacs's keyboard shortcuts are designed with a keyboard that > practically has the Ctrl and Alt key positions swapped. > Space-Cadet keyboard-2m Maybe the swapping or arrangement of modifier keys isn't that big a deal. It is better when they are optimally arranged, but maybe isn't very bad when they are less well arranged. I don't know. > The tragedy of the Control/(Alt/Meta) swap made emacs keyboard > shortcuts very painful, and the frequent need to press the far-away > Control key creates the Emacs Pinky syndrome. (Many emacs-using > programer celebrities have injured their hands with emacs. (e.g. > Richard Stallman???, Jamie Zawinski???, Ben Wing???), and emacs's Ctrl and > Meta combinations are most cited as the major turnoff to potential > users among programers) There's also the possibility that these hackers injured themselves by excessive typing, and would have fared as badly with any keyboard layout. > (For more photos of Lisp Machine's keyboards (all have Control as > primary), see: lisp_machine_symbolics_keyboard.jpg (photo by Rainer > Joswig???. Used with permission), Symbolics keyboard PN 364000???, > Symbolics keyboard PN 365407 Rev C??? by Peter Paine ) Heh! Peter Paine was my colleague ~25 years ago, when we were both at Racal Norsk in England, building a Lisp Machine. Where is he now? > The Choice Of Keys > Outdated Commands > A significant portion of emacs's major shortcuts (those with M-???key??? > or C-???key???) are mapped to commands that are almost never used today. > Some of these occupies the most precious space (Home row with thumb: > For example: M-s (center-line), M-j (indent-new-comment-line), M-k > (kill-sentence)). Most programer who have used emacs for years never > use these commands. For example: > digit-argument, M-1 to M-9 R > negative-argument, M-- R > move-to-window-line, M-r R > center-line, M-s > transpose-words, M-t R > tab-to-tab-stop, M-i > M-g prefix, M-g R > indent-new-comment-line, M-j R > tmm-menubar, M-' > zap-to-char, M-z > back-to-indentation, M-m R > tags-loop-continue, M-, > find-tag, M-. R I don't know about "most programmers", but I regularly use those commands above marked with "R". Of the others, I can see that all but `center-line' could be used a lot by other hackers. I can't see that center-line is useful for much at all, except perhaps for preparing invitations to parties. Presumably the early hackers did a lot of partying. > Difficult Keystrokes for Frequently Used Commands > Some commands that are used by every emacs user many times every hour, > such as Open (find-file; C-x C-f), Save (save-buffer; C-x C-s), Close > (kill-buffer; C-x k), Next Window/Tab (next-buffer C-x ???) all require > multiple keystrokes with the difficult Control key. I don't think these commands are "frequently used". I use them several times a session rather than many times. I've never used `next-buffer' in my life (so having "???" in its binding isn't a problem for me). The thing about all these file/buffer handling commands is that they are done in a break for thinking, so if they are a bit awkward, it's not that critical. > Standard Name Emacs Command Name Keystroke > Open find-file C-x C-f > Save save-buffer C-x C-s > Close kill-buffer C-x k > Next Tab next-buffer C-x ??? > Previous Tab previous-buffer C-x ??? > No Employment of the Shift Key > For historical reasons, emacs does not use any keybindings involving > the Shift with a letter. (e.g. there's no ???Meta Shift a???, or ???Control > Shift a???) This is so because in early computing environment, Ctrl+Shift > +???letter??? cannot be distinguished from the non-Shift version, due to a > practical combination of ASCII???, Computer terminal???, telnet???. Even today, these combinations are only usable on some of Emacs's target environments, so it's not a brilliant idea to make standard bindings out of them. However, that leaves a massive amount of space for personal key bindings. They're awkward to type, though. > Using the Shift key as a reverse operation is very easy to remember, > and doesn't take another precious shortcut letter. By not using the > Shift key, commands with a logical reverse operation necessarily have > to find other key space, and overall making the shortcut set more > difficult to remember, or scattered, or more difficult to press. Emacs tends to use the C-u prefix for reversal. > A Flaw in Keybinding Policy > Any major software, maintains a guide for the developers about the > choices of keyboard shortcuts, so that the shortcuts will be > consistent. Emacs has this in its Emacs Lisp manual: Elisp Manual: Key- > Binding-Conventions. > This guide, indicates that the only key space reserved for users to > define, are the function keys F5 to F9, and key stroke sequence > starting with Ctrl+c followed by a single letter key. I agree with you here. I don't think the function keys, with or without modifiers, should be standardly bound to any commands,. > This is a severe restraint to the utility of customized shortcuts. F5 > to F9 are only 6 keys. Really? I disagree with you there. > The key sequence starting with C-c followed by a letter, is a difficult > sequence to execute, and there are only 26 spaces there. Or 52, if you are willing to use <shift>. > The function keys, F1 to F12, are very good candidates for user > defined shortcut space, similarly for the digit key shortcuts, 0 to 9. > These keys can be used with any combination of Control, Meta, Shift. > For example, a user might define them to insert various templates, > headers/footers, a system of customized HTML/XML tags. Or, she might > assign them to various special emacs modes such as dired, shell, ftp, > email, calendar, calc, *scratch*, make-frame-command (Open a new > window), insert signature. Lots of people do use all the function keys for their own bindings. Including me. > Xah -- Alan Mackenzie (Nuremberg, Germany). ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-06 18:02 ` Alan Mackenzie @ 2008-11-07 6:24 ` Kevin Rodgers 0 siblings, 0 replies; 76+ messages in thread From: Kevin Rodgers @ 2008-11-07 6:24 UTC (permalink / raw) To: help-gnu-emacs Alan Mackenzie wrote: > Presumably the early hackers did a lot of > partying. Yeah, baby! -- Kevin Rodgers Denver, Colorado, USA ^ permalink raw reply [flat|nested] 76+ messages in thread
[parent not found: <mailman.3010.1225993912.25473.help-gnu-emacs@gnu.org>]
* Re: emacs-w3m question [not found] ` <mailman.3010.1225993912.25473.help-gnu-emacs@gnu.org> @ 2008-11-06 20:02 ` Rupert Swarbrick 2008-11-07 2:02 ` Xah 1 sibling, 0 replies; 76+ messages in thread From: Rupert Swarbrick @ 2008-11-06 20:02 UTC (permalink / raw) To: help-gnu-emacs [-- Attachment #1: Type: text/plain, Size: 1058 bytes --] Alan Mackenzie <acm@muc.de> writes: >> For historical reasons, emacs does not use any keybindings involving >> the Shift with a letter. (e.g. there's no ???Meta Shift a???, or ???Control >> Shift a???) This is so because in early computing environment, Ctrl+Shift >> +???letter??? cannot be distinguished from the non-Shift version, due to a >> practical combination of ASCII???, Computer terminal???, telnet???. > > Even today, these combinations are only usable on some of Emacs's target > environments, so it's not a brilliant idea to make standard bindings out > of them. However, that leaves a massive amount of space for personal key > bindings. They're awkward to type, though. > Indeed. I'm reading (and writing) this using gnus. On emacs. On a machine about 8 miles away. Using ssh with cygwin (eugh). Because of some weird problems with cygwin deleting frames if you accidentally mouse-2 on them (!), I'm using the new multiheaded emacs and emacsclient -nw. Anyway, stuff Ctrl-Shift-blah. For me, Ctrl-h is indistinguishable from DEL! Rupert [-- Attachment #2: Type: application/pgp-signature, Size: 314 bytes --] ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question [not found] ` <mailman.3010.1225993912.25473.help-gnu-emacs@gnu.org> 2008-11-06 20:02 ` Rupert Swarbrick @ 2008-11-07 2:02 ` Xah 2008-11-07 10:24 ` Eli Zaretskii ` (2 more replies) 1 sibling, 3 replies; 76+ messages in thread From: Xah @ 2008-11-07 2:02 UTC (permalink / raw) To: help-gnu-emacs Dear Alan idiot, Xah wrote: > > For example, if your job is data entry, the numerical keypad is much > > more efficient to operate than the numbers on top row of the main keys. Alan Mackenzie wrote: > If your job is programming, and you touch type, the digits on the top row > are much easier to use than the numeric keypad. Isn't it good we've got > this choice! the argument, was about whether the numerical keypad was useless. Here i quote Xavier Maillard: Xavier wrote: «At work, I still have oldies that still do not support these keys. What's more, directional keys are one of the dumbest addition one could have thought off (in my opinion). The same apply for numerical keypad: what are they useful for exactly ? Is it that hard to press shift+& (for the azerty keyboard) to get a 1 ? Or press C-b to move point left ? I do not think so.» He, in short, Xavier are idiotic to the degree to claim that the numerical keypads or the physical arrow keys are useless or extremely stupid design. I responded by explaining their applications. Their efficiency for data entry applications when compared to the number keys on the main keyboard. I'm sorry for calling you and Xavier idiots. Perhaps it is insulting, but sometimes that's the best way to make people understand. Most tech geekers are idiots, when they express opinions other than technical details of programing languages. please let me know if you'd like me to respond to more parts of your message. I might give it a swirl. I get annoyed because tech geekers do their bone picking, then other tech geekers sees the part and pitches in. Then pretty soon the whole thread is about tech geekers padding each other's back, and 1+1 seems to be something other than 2. For example, in other part your post, you said something idiotic about the use of Shift key, then Rupert Swarbrick put in 60 words post that effectively says “yeah, i still use emacs thru telnet too!!!” Can you imagine, soon other tech geeker will chime in and insist emacs is still used thru telnet? and soon more tech geeker will insist that Emacs is not technically a Microsoft Word? O, btw, have you decided on the $50 paypal sincerity contest? I mean, about a month ago, i complained that we had too many debates that went no where in the past year, so perhaps we could pitch in $50 real money so that we have something real to backup our mouths. You didn't respond. But now you are all over me with long winded posts. Is this your sense of tea party? Xah ∑ http://xahlee.org/ ☄ ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-07 2:02 ` Xah @ 2008-11-07 10:24 ` Eli Zaretskii 2008-11-07 10:54 ` Alan Mackenzie [not found] ` <mailman.3055.1226054611.25473.help-gnu-emacs@gnu.org> 2 siblings, 0 replies; 76+ messages in thread From: Eli Zaretskii @ 2008-11-07 10:24 UTC (permalink / raw) To: help-gnu-emacs > From: Xah <xahlee@gmail.com> > Date: Thu, 6 Nov 2008 18:02:26 -0800 (PST) > > Dear Alan idiot, > From: Xah <xahlee@gmail.com> > Date: Thu, 6 Nov 2008 21:42:21 -0800 (PST) > > hi dork Giorgos Keramidas, Ts-ts-ts, just when I thought that Xah can be a reasonably useful member of the community by posting some _helpful_ articles, for a change... ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-07 2:02 ` Xah 2008-11-07 10:24 ` Eli Zaretskii @ 2008-11-07 10:54 ` Alan Mackenzie [not found] ` <mailman.3055.1226054611.25473.help-gnu-emacs@gnu.org> 2 siblings, 0 replies; 76+ messages in thread From: Alan Mackenzie @ 2008-11-07 10:54 UTC (permalink / raw) To: Xah; +Cc: help-gnu-emacs Dear Xah genius, On Thu, Nov 06, 2008 at 06:02:26PM -0800, Xah wrote: > Dear Alan idiot, Hey, just what I need after getting up in the morning. ;-( > the argument, was about whether the numerical keypad was useless. Here > i quote Xavier Maillard: > Xavier wrote: > «At work, I still have oldies that still do not support these keys. > What's more, directional keys are one of the dumbest addition one > could have thought off (in my opinion). The same apply for numerical > keypad: what are they useful for exactly ? Is it that hard to press > shift+& (for the azerty keyboard) to get a 1 ? Or press C-b to move > point left ? I do not think so.» > He, in short, Xavier are idiotic to the degree to claim that the > numerical keypads or the physical arrow keys are useless or extremely > stupid design. Not at all. He's merely saying, in a somewhat polemic way, that he doesn't find them useful himself, and is mystified that other people do. That doesn't make him an idiot. [ .... ] > I'm sorry for calling you and Xavier idiots. Perhaps it is insulting, > but sometimes that's the best way to make people understand. If you are sorry, why do you do it? It is indeed insulting, and it is NEVER the best way to persuade people of anything. The effect on me is that I take you a little less seriously that I otherwise would, which is surely not what you want. A tip: get hold of a copy of Dale Carnegie's "How to Win Friends and Influence People" (yes, it is a real book, first published last century), read it and do what it says. > Most tech geekers are idiots, when they express opinions other than > technical details of programing languages. Most? Not all? Am I an idiot when I say what I think about equal temperament tuning, or how best to learn to do "chops" with three juggling clubs, or why assuming the axiom of choice is a poor choice? If by "tech geeker" you meant somebody whose only expertise is in programming, you might be right, but how many of these are there really? RMS plays the flute, for example. ESR shoots guns, and probably would love to kill somebody. ;-) > please let me know if you'd like me to respond to more parts of your > message. I might give it a swirl. I'm always delighted to read your responses. > For example, in other part your post, you said something idiotic about > the use of Shift key, then Rupert Swarbrick put in 60 words post that > effectively says ???yeah, i still use emacs thru telnet too!!!??? Can you > imagine, soon other tech geeker will chime in and insist emacs is > still used thru telnet? and soon more tech geeker will insist that > Emacs is not technically a Microsoft Word? :-) What I said was, I think, true. People do use Emacs over comms lines. Emacs developers actively resist the "tyranny of the majority". > O, btw, have you decided on the $50 paypal sincerity contest? I mean, > about a month ago, i complained that we had too many debates that went > no where in the past year, so perhaps we could pitch in $50 real money, > .... It's quite some time since USA dollars were real money. .... ;-) > ....., so that we have something real to backup our mouths. You didn't > respond. But now you are all over me with long winded posts. Is this > your sense of tea party? Well, the FSF's offices are in Boston, so maybe that's not so inappropriate. ;-) But Xah Lee moaning about long winded posts? Wow! > Xah -- Alan Mackenzie (Nuremberg, Germany). ^ permalink raw reply [flat|nested] 76+ messages in thread
[parent not found: <mailman.3055.1226054611.25473.help-gnu-emacs@gnu.org>]
* Re: emacs-w3m question [not found] ` <mailman.3055.1226054611.25473.help-gnu-emacs@gnu.org> @ 2008-11-07 20:10 ` Xah 2008-11-08 18:57 ` Rupert Swarbrick 1 sibling, 0 replies; 76+ messages in thread From: Xah @ 2008-11-07 20:10 UTC (permalink / raw) To: help-gnu-emacs Dear Alan MORON, > Not at all. He's merely saying, in a somewhat polemic way, that he > doesn't find them useful himself, and is mystified that other people do. > That doesn't make him an idiot. the question is not about whether he is a idiot. If u r not a idiot, you should know. the argument here, is about his idiotic, perhaps careless, claim that the numerical keypad and arrow keys are useless; a opinion made to support his view that w3m mode should not have the arrows keys to move cursor. my response, is to point out the degree of his idiocy in his wanton claim about keyboard design, by for example, pointed out data entry industry, the field of ergonomics, and with explicit example that one can test oneself on about how the numerical keypad and the arrow keys are more efficient by significant margins than the number row keys or Ctrl+fbnp key combo. You, in regard to this section of the debate, are a moron, first, by claiming that the number row is actually more efficient than the numbers on numerical keypad, totally ignoring the context. When i pointed out your moronicity by your ignorance of context either intentiaonally or unintentionally, you are a moron again, by claiming that 6-finger typing is also touch-typing. The above sequence of events can be seen in google groups, here: http://groups.google.com/group/gnu.emacs.help/browse_frm/thread/7c08121e215fd383 i hope nobody remove their messages. The message that started this sequence of debate, is this: http://groups.google.com/group/gnu.emacs.help/msg/daf6748a5f24ddf8 anyone is welcome to verify my interpretaation of this sequence of debate. Xah ∑ http://xahlee.org/ ☄ ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question [not found] ` <mailman.3055.1226054611.25473.help-gnu-emacs@gnu.org> 2008-11-07 20:10 ` Xah @ 2008-11-08 18:57 ` Rupert Swarbrick 2008-11-08 21:33 ` Xah 1 sibling, 1 reply; 76+ messages in thread From: Rupert Swarbrick @ 2008-11-08 18:57 UTC (permalink / raw) To: help-gnu-emacs [-- Attachment #1: Type: text/plain, Size: 1519 bytes --] Alan Mackenzie <acm@muc.de> writes: >> For example, in other part your post, you said something idiotic about >> the use of Shift key, then Rupert Swarbrick put in 60 words post that >> effectively says ???yeah, i still use emacs thru telnet too!!!??? Can you >> imagine, soon other tech geeker will chime in and insist emacs is >> still used thru telnet? and soon more tech geeker will insist that >> Emacs is not technically a Microsoft Word? > > :-) What I said was, I think, true. People do use Emacs over comms > lines. Emacs developers actively resist the "tyranny of the majority". Oh sorry Xah, you're in a killfile so I've only just noticed I got a mention. But, yeah, I think it's pretty amazing that emacs is usable over ssh (no, I don't allow telnet logins to my laptop). Before there's a tirade about ancient lispniks who are out of touch with the real world, I'll point out that I'm an undergrad. Anyway, what other editors except v** and emacs would allow you to do something like that? I think that they're absolutely brilliant. I'm not entirely sure what you mean about emacs being like MS Word. After all, it's clearly superior to emacs because it has buttons along the top for underlining and bolding words, no? Indeed, we should all give up on these silly text editors and use full-featured software like proper office tools. Or even better, we could use powerpoint for everything. Yes, I am trolling. No I'm not serious. > But Xah Lee moaning about long winded posts? Wow! Heh! Rupert [-- Attachment #2: Type: application/pgp-signature, Size: 314 bytes --] ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-08 18:57 ` Rupert Swarbrick @ 2008-11-08 21:33 ` Xah 0 siblings, 0 replies; 76+ messages in thread From: Xah @ 2008-11-08 21:33 UTC (permalink / raw) To: help-gnu-emacs On Nov 8, 10:57 am, Rupert Swarbrick <rswarbr...@gmail.com> wrote: > >> For example, in other part your post, you said something idiotic about > >> the use of Shift key, then Rupert Swarbrick put in 60 words post that > >> effectively says ???yeah, i still use emacs thru telnet too!!!??? Can you > >> imagine, soon other tech geeker will chime in and insist emacs is > >> still used thru telnet? and soon more tech geeker will insist that > >> Emacs is not technically a Microsoft Word? > > > :-) What I said was, I think, true. People do use Emacs over comms > > lines. Emacs developers actively resist the "tyranny of the majority". > > Oh sorry Xah, you're in a killfile so I've only just noticed I got a > mention. But, yeah, I think it's pretty amazing that emacs is usable > over ssh (no, I don't allow telnet logins to my laptop). Before there's > a tirade about ancient lispniks who are out of touch with the real > world, I'll point out that I'm an undergrad. the point was not about whether emacs is still used with telnet. The point was, that often it is the case in debates of tech geekers, they don't see the whole picture of argument but like to pick bones. Then later readers read the pone-picking message and feel obliged to post to concur, oblivious of what the debate was about. In our case, it is this Alan guy, who read my article: Why Emacs's Keyboard Shortcuts Are Painful http://xahlee.org/emacs/emacs_kb_shortcuts_pain.html on the section “No Employment of the Shift Key”, and all this moron can say is that emacs is still used thru telnet. > Anyway, what other editors except v** and emacs would allow you to do > something like that? do you mean the ability to edit files remotely? BBEdit, somewhat the standard (most popular) editor on the Mac throughout the 1990s, and today possibly still top 5 among Mac, can edit files remotely. In fact, i think majority (if not all), major editors/IDEs today can do that. (for some survey of text editor popularity, and the importance of such study, see: Text Editors Popularity http://xahlee.org/emacs/text_editor_trends.html ) also note, the use of telnet/ssh is gradually waning. (in comparison to, 10 years ago when half of my time in a day job is using emacs thru telnet/ssh) They are replaced by various ways to get files across the net. For example, there are Apple and Microsoft software that allows you to have remote desktops. Then there's various methods of tunneling. And there are various remote file systems getting more and more robust besides NFS and Samba, then there's rsync, unison, and various other sync software from Apple and Microsoft ... See for example: http://en.wikipedia.org/wiki/Remote_desktop_software http://en.wikipedia.org/wiki/Remote_Desktop http://en.wikipedia.org/wiki/Timbuktu_(software) http://en.wikipedia.org/wiki/Apple_Filing_Protocol (you can also read about rsync, unison, samba, NFS, the follow the various links to learn about a whole lot more software and protocols on these areas ) Now, think about this: all these applications that work remotely, their Shift key shortcuts should be broken! Wow! The Emacs way of thinking! telnet itself, one of unix shit, is one of the mothefucking worst design by itself. This has been criticized like some 20 years ago when unix is considered the cool kid on the block. some unix moron is going to mention X-Windows here. They should read: The X-Windows Disaster http://xahlee.org/UnixResource_dir/_/The_X-Windows_Disaster.html > I'm not > entirely sure what you mean about emacs being like MS Word. That is for Alan, so that, we can begin to have hundreds of posts about how emacs is not Microsoft Word and therefore whatever was his point is wrong. it's easy. Whenever someone suggest something about emacs, doesn't matter how well thought, how superior, or what is the nature of it, all you have to do is to mention that emacs is not Microsoft Word, and do it in a insistent way with some argumentation, then you'll have hundreds of posts to support you. i've seen quite a few absolute morons in comp.emacs and gnu.emacs.help in the past 3 years since i began to participate frequently. I'd say Alan is the top 5 among the idiots. You may not be aware, he sincerely believes that we should stick to ascii, as opposed to unicode. is he a good guy? i'd say so. Among tech geeking morons, some are mean, hateful. These i truely despise. They are the scumbags of society. But Alan is cool in this respect. He's like, the Forrest Gump. Y'know? The movie that suggests that we'll all be millionaires and the world will be a better place as long as we have good intentions, regardless whether we are idiots. -------------- O, you mentioned kill file. Please read: http://xahlee.org/UnixResource_dir/writ/kill_file_harmful.html plain text version follows: -------------------- Killfile Considered Harmful Xah Lee, 2000-02-26 In newsgroups, killfile is a playful word meaning that the poster has placed someone in a blacklist of authors, where their postings will be automatically hidden from view in their newsreader. Such functionality of newsreaders originated in unix. In the early 90s or before, it used to be referred to as “sending someone into /dev/null”, because “/dev/ null” can be used as a way for deleting email program outputs. The killfile behavior, is simply put: “sweep-under-the-rug”, “bury- head-in-sand” kind of behavior. Imagine that in a gathering where if everyone totally ignores other's voices except their own kind, then what cacophony would result? Similarly, if we ignore the problem of crime by simply using larger locks for our own doors, what consequence would result? We are all human beings. Our surroundings are our organs and affects us dearly. In newsgroups, inevitably there will be certain individuals with foul breath at times. Killfile mechanism is a very good feature to battle such annoyances. This is not a reason for falling for the convenience of blocking your ears from dissenting voices or the nonconformists. The worst thing i hate about it, is the broadcasting of someone being killfiled. Oftentimes the sole content of a message is “You've been killfiled”. WHAT GOOD DOES IT DO TO THE COMMUNITY BY SUCH ANNOUNCEMENT? Is it a warning system for fellow readers to prepare to follow suit? Or is it a stupid self-righteous act? In the course of a unpleasant encountering, the killfilers feel the other party being unworthy of further response but they don't want to be seen as chickening out so they had to announce it as if saying: “Hello world: you don't see a returning 'fuck you' from me because _I_ am _smarter_ and took a step ahead of my antagonist and covered my ears, not because he is correct or anything like that.”. Pride is a human nature, but unqualified conceit is despicable. A second motivation for announcing killfile is more explicitly juvenile. Killfile has several variant names: “You've been killfiled.”, “plonk” (sound of falling object), “I've send you to /dev/ null” (unixism), and creativity does not seems to cease there, e.g. in comp.lang.lisp: (plonk 'xah) or signatures that reads “in /dev/null, they can't hear you scream.” The reason of these playful variations is precisely literary folly. The utterer delights in its use since most are wanting of genuine literary artistry. This adds to the fashion of killfile and its broadcasting. Killfile behavior and broadcasting have another curious trait: No burden of commitment. One cannot really tell if the person really did the killfile. The decision to make a killfile cry in public does not carry any weight of responsibility as compared to making a claim, stating a “fact”, or expressing a opinion. It is simply a variation of “fuck you”. This too, contributed to its uncontrolled popularity. Xah ∑ http://xahlee.org/ ☄ ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question [not found] ` <4d476218-bd76-4d41-8a12-1428dfba9e9b@s9g2000prg.googlegroups.com> ` (3 preceding siblings ...) [not found] ` <mailman.3010.1225993912.25473.help-gnu-emacs@gnu.org> @ 2008-11-09 6:26 ` Wei Weng 2008-11-09 8:55 ` Xah 4 siblings, 1 reply; 76+ messages in thread From: Wei Weng @ 2008-11-09 6:26 UTC (permalink / raw) To: help-gnu-emacs Xah wrote: > [SNIP] > > Xah > http://xahlee.org/ > Xah, I like the points you made about emacs should change its keyboard shortcuts to something "easier to reach". Since emacs is /very/ easy to customize, why don't you start a project like cream for vim (http://cream.sf.net)? Cream is a set of scripts that remap a lot of vim's default key settings to something easier to reach and remember for newbies. I think it is only gonna be easier to do for emacs. Thanks Wei ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-09 6:26 ` Wei Weng @ 2008-11-09 8:55 ` Xah 2008-11-10 21:25 ` Xavier Maillard [not found] ` <mailman.21.1226352538.26697.help-gnu-emacs@gnu.org> 0 siblings, 2 replies; 76+ messages in thread From: Xah @ 2008-11-09 8:55 UTC (permalink / raw) To: help-gnu-emacs On Nov 8, 10:26 pm, Wei Weng <ww...@acedsl.com> wrote: > I like the points you made about emacs should change its keyboard shortcuts to > something "easier to reach". Since emacs is /very/ easy to customize, why > don't you start a project like cream for vim (http://cream.sf.net)?Cream is a > set of scripts that remap a lot of vim's default key settings to something > easier to reach and remember for newbies. I think it is only gonna be easier > to do for emacs. > > Thanks > Wei Thank you for the suggestion. You can find the lisp code for the ergo map at: http://xahlee.org/emacs/ergonomic_emacs_keybinding.html near the middle of the page, or just search “.el”. There's a qwerty version and a dvorak version. In the next few months, they'll be combined into one single file and be a minor mode, with customizable variable to set to qwerty or dvorak. i haven't spent time to study minor modes yet. For those who has, if you can provide me with a minor mode template, i'll get to work right away. Xah ∑ http://xahlee.org/ ☄ ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-09 8:55 ` Xah @ 2008-11-10 21:25 ` Xavier Maillard [not found] ` <mailman.21.1226352538.26697.help-gnu-emacs@gnu.org> 1 sibling, 0 replies; 76+ messages in thread From: Xavier Maillard @ 2008-11-10 21:25 UTC (permalink / raw) To: Xah; +Cc: help-gnu-emacs i haven't spent time to study minor modes yet. For those who has, if you can provide me with a minor mode template, i'll get to work right away. You would not want to see code (not touch-)typed by a so idiotic guy like me, would you ? Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org ^ permalink raw reply [flat|nested] 76+ messages in thread
[parent not found: <mailman.21.1226352538.26697.help-gnu-emacs@gnu.org>]
* Re: emacs-w3m question [not found] ` <mailman.21.1226352538.26697.help-gnu-emacs@gnu.org> @ 2008-11-10 22:38 ` Xah 2008-11-12 2:28 ` Sean Sieger 0 siblings, 1 reply; 76+ messages in thread From: Xah @ 2008-11-10 22:38 UTC (permalink / raw) To: help-gnu-emacs On Nov 10, 1:25 pm, Xavier Maillard <x...@gnu.org> wrote: > i haven't spent time to study minor modes yet. For those who has, if > you can provide me with a minor mode template, i'll get to work right > away. > > You would not want to see code (not touch-)typed by a so idiotic > guy like me, would you ? even if you don't touch type, a ergonomic based keyboard shortcut will still improve your emacs life. For example, you cited how you love the Ctrl+‹npfb› shortcuts because you don't want to move the hand to arrow. Note the keys n p f b are scattered around the keyboard. In fact, 3 of them are the worst possible. N and B are in the middle of the keyboard, and p is pressed by the weakest finger. With the ergo map, you can do Ctrl+‹kilk› to move cursor, all keys are under your right hand. Even if hunt-and-peck is your method of typing, it's much easier to hunt and peck on k i l k, all are in one place, since cursor keys are frequently used together. this page has the lisp code that turns default shortcuts into ergonomic ones: http://xahlee.org/emacs/ergonomic_emacs_keybinding.html also note, when i did research on emacs command frequency, one surprising result is that a programer types shortcuts more than he actually type letters. Quote: « Better Shortcut Layout vs Better Key Layout On the subject of keyboarding ergonomics, a user may wonder whether switching from QWERTY to Dvorak provides a better improvement than switching from a lousy to better keyboard shortcut layout. (Assuming that he does only one of the above.) Of my Emacs Commands Frequency study, 37% of key strokes involves data entry (that is, calling the commands “self-insert-command” and “newline” (pressing return), while the rest 63% are calling all other commands. This seems counter-intuitive, because one might think typing should probably be the bulk of activity and moving cursor and deleting text or other commands are only done few times per minute. If we consider commands invoked by the Backspace key as data entry too, then 40% are data entry, while 60% are editing commands. Still surprising. Going one step further, if we consider the next group of most used commands of moving the cursor by the smallest unit (i.e. previous-line (C-p), next-line (C-n), backward-char (C-b), forward- char (C-f) (also invoked by the arrow keys)) as part of data entry, then, 64% are “data entry” and 36% are other command calls. This data suggests that better shortcut placement is more important than better placement of letter keys for programing. » -------------------- if you are interested to find out your own pattern of emacs command use, you can try the lisp file at the bottom of this page: http://xahlee.org/emacs/command-frequency.html If you can send me your result, that'll be great. Alan, you are very welcome to send me your result too. Xah ∑ http://xahlee.org/ ☄ ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-10 22:38 ` Xah @ 2008-11-12 2:28 ` Sean Sieger 0 siblings, 0 replies; 76+ messages in thread From: Sean Sieger @ 2008-11-12 2:28 UTC (permalink / raw) To: help-gnu-emacs In fact, 3 of them are the worst possible. N and B are in the middle of the keyboard, and p is pressed by the weakest finger. Have you reread this?? Do you---oh, yeah, I remember the irc challenge you announced!---do you have any idea how to type properly??? I don't know about you, but I just have these hands that rest on the keyboard, on their finger tips and my mind puts text on the screen through them. Middle? Weak? No mention of strong? You're insane. I'm tellin' ya: gtypist is for you Xah. ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question [not found] ` <mailman.2522.1225402310.25473.help-gnu-emacs@gnu.org> 2008-10-30 22:38 ` Xah @ 2008-11-01 13:03 ` Andreas Politz 2008-11-03 11:25 ` Xavier Maillard [not found] ` <mailman.2763.1225711681.25473.help-gnu-emacs@gnu.org> 1 sibling, 2 replies; 76+ messages in thread From: Andreas Politz @ 2008-11-01 13:03 UTC (permalink / raw) To: help-gnu-emacs Xavier Maillard wrote: > Hi, > > Here's what i do: > > (add-hook 'w3m-mode-hook > (lambda () > (define-key w3m-mode-map (kbd "<up>") 'previous-line) ; was w3m- > previous-anchor. Use Shift+Tab. > (define-key w3m-mode-map (kbd "<down>") 'next-line) ; was w3m-next- > anchor. Use Tab. > (define-key w3m-mode-map (kbd "<left>") 'backward-char) ; was w3m- > view-previous-page. Use B. > (define-key w3m-mode-map (kbd "<right>") 'forward-char) ; was w3m- > view-this-url. Use Enter. > )) > > i think it is good to make this default. More intuitive for emacs > users. > > For your information, many old computers do not have > Up/Down/Left/Right keys thus making this as a default won't work > for them. I never use these key due to my habits. Therefor I > strongly disagree with you on that point. > > Xavier If you don't have or use the cursor keys, why would you mind what it's default bindings are ? That doesn't make any sense. -ap ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-11-01 13:03 ` Andreas Politz @ 2008-11-03 11:25 ` Xavier Maillard [not found] ` <mailman.2763.1225711681.25473.help-gnu-emacs@gnu.org> 1 sibling, 0 replies; 76+ messages in thread From: Xavier Maillard @ 2008-11-03 11:25 UTC (permalink / raw) To: Andreas Politz; +Cc: help-gnu-emacs Hi, Xavier Maillard wrote: > i think it is good to make this default. More intuitive for emacs > users. > > For your information, many old computers do not have > Up/Down/Left/Right keys thus making this as a default won't work > for them. I never use these key due to my habits. Therefor I > strongly disagree with you on that point. > > Xavier If you don't have or use the cursor keys, why would you mind what it's default bindings are ? That doesn't make any sense. Read again, it makes pefectly sense (hint: defaults apply to all users). Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org ^ permalink raw reply [flat|nested] 76+ messages in thread
[parent not found: <mailman.2763.1225711681.25473.help-gnu-emacs@gnu.org>]
* Re: emacs-w3m question [not found] ` <mailman.2763.1225711681.25473.help-gnu-emacs@gnu.org> @ 2008-11-06 16:51 ` Andreas Politz 0 siblings, 0 replies; 76+ messages in thread From: Andreas Politz @ 2008-11-06 16:51 UTC (permalink / raw) To: help-gnu-emacs Xavier Maillard wrote: > Hi, > > Xavier Maillard wrote: > > > i think it is good to make this default. More intuitive for emacs > > users. > > > > For your information, many old computers do not have > > Up/Down/Left/Right keys thus making this as a default won't work > > for them. I never use these key due to my habits. Therefor I > > strongly disagree with you on that point. > > > > Xavier > > If you don't have or use the cursor keys, why would you mind > what it's default bindings are ? That doesn't make any sense. > > Read again, it makes pefectly sense (hint: defaults apply to all > users). > > Xavier I did, it doesn't. Xahs proposal: >(add-hook 'w3m-mode-hook > (lambda () > (define-key w3m-mode-map (kbd "<up>") 'previous-line) ; was w3m- > previous-anchor. Use Shift+Tab. > (define-key w3m-mode-map (kbd "<down>") 'next-line) ; was w3m-next- > anchor. Use Tab. > (define-key w3m-mode-map (kbd "<left>") 'backward-char) ; was w3m- > view-previous-page. Use B. > (define-key w3m-mode-map (kbd "<right>") 'forward-char) ; was w3m- > view-this-url. Use Enter. > )) > > i think it is good to make this default. More intuitive for emacs > users. The arrow keys are bound in the global map to previous-line/next-line/backward-char /forward-char. This is the default binding. They are even mentioned in the tutorial as an inferior way to move point. Now, w3m rebinds this keys to some modespecific actions. It should be obvious, that this is a problem. Would you like it if some mode binds C-n to push-button ? But I don't want to stop you guys from debating, what ever it is you are debating. -ap ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-10-27 20:45 Francis Moreau 2008-10-27 21:09 ` henry atting @ 2008-10-27 21:48 ` Andreas Politz 2008-10-28 10:50 ` Francis Moreau 2008-10-28 14:51 ` OtherMichael 1 sibling, 2 replies; 76+ messages in thread From: Andreas Politz @ 2008-10-27 21:48 UTC (permalink / raw) To: help-gnu-emacs Francis Moreau wrote: > Hello, > > Is there a fast way to jump to the 4th link (for example) that Google > proposes after a search ? Currently I'm using C-s and start typing the > proposed title. > > thanks > > Francis M-x w3m-link-numbering-mode RET Then links get numbers attached, which you can use to navigate, e.g. 20 RET -ap ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-10-27 21:48 ` Andreas Politz @ 2008-10-28 10:50 ` Francis Moreau 2008-10-28 14:51 ` OtherMichael 1 sibling, 0 replies; 76+ messages in thread From: Francis Moreau @ 2008-10-28 10:50 UTC (permalink / raw) To: help-gnu-emacs Andreas Politz <politza@fh-trier.de> writes: > Francis Moreau wrote: > M-x w3m-link-numbering-mode RET > > Then links get numbers attached, which you can use to navigate, e.g. > 20 RET That's it ! Thanks Francis ^ permalink raw reply [flat|nested] 76+ messages in thread
* Re: emacs-w3m question 2008-10-27 21:48 ` Andreas Politz 2008-10-28 10:50 ` Francis Moreau @ 2008-10-28 14:51 ` OtherMichael 1 sibling, 0 replies; 76+ messages in thread From: OtherMichael @ 2008-10-28 14:51 UTC (permalink / raw) To: help-gnu-emacs On Oct 27, 5:48 pm, Andreas Politz <poli...@fh-trier.de> wrote: > Francis Moreau wrote: > > Hello, > > > Is there a fast way to jump to the 4th link (for example) that Google > > proposes after a search ? Currently I'm using C-s and start typing the > > proposed title. > > > thanks > > > Francis > > M-x w3m-link-numbering-mode RET > > Then links get numbers attached, which you can use to navigate, e.g. > 20 RET > > -ap There's a nice function that wraps all this up so you only see the numbered-link when you want to see http://emacs.wordpress.com/2008/04/12/numbered-links-in-emacs-w3m/ --the Other michael ^ permalink raw reply [flat|nested] 76+ messages in thread
end of thread, other threads:[~2022-11-08 3:58 UTC | newest] Thread overview: 76+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-11-01 20:25 emacs-w3m question Jon Fineman 2022-11-02 12:32 ` Michael Heerdegen 2022-11-02 17:44 ` Jon Fineman 2022-11-03 11:18 ` Michael Heerdegen 2022-11-08 3:58 ` Bob Newell 2022-11-02 13:20 ` Emanuel Berg 2022-11-02 17:32 ` Jon Fineman 2022-11-02 18:22 ` Emanuel Berg 2022-11-03 17:56 ` Bob Newell 2022-11-04 2:02 ` Jon Fineman 2022-11-06 22:49 ` Bob Newell 2022-11-07 6:08 ` Yuri Khan 2022-11-07 6:38 ` Bob Newell 2022-11-07 6:45 ` Stefan Monnier via Users list for the GNU Emacs text editor 2022-11-07 6:59 ` Yuri Khan 2022-11-07 12:34 ` Emanuel Berg 2022-11-07 12:40 ` Emanuel Berg 2022-11-02 22:14 ` Bob Newell -- strict thread matches above, loose matches on Subject: below -- 2008-10-27 20:45 Francis Moreau 2008-10-27 21:09 ` henry atting 2008-10-27 21:36 ` Richard Riley 2008-10-28 18:40 ` Xah 2008-10-30 21:25 ` Xavier Maillard 2008-10-30 22:16 ` Paul R 2008-11-01 7:25 ` Xavier Maillard 2008-11-01 12:59 ` Paul R [not found] ` <mailman.2625.1225539334.25473.help-gnu-emacs@gnu.org> 2008-11-01 15:51 ` Richard Riley 2008-11-03 11:25 ` Xavier Maillard 2008-11-03 12:13 ` Richard Riley 2008-11-03 23:25 ` Xavier Maillard [not found] ` <mailman.2907.1225862955.25473.help-gnu-emacs@gnu.org> 2008-11-05 13:23 ` Xah [not found] ` <mailman.2522.1225402310.25473.help-gnu-emacs@gnu.org> 2008-10-30 22:38 ` Xah 2008-11-03 11:25 ` Xavier Maillard 2008-11-03 12:36 ` Paul R 2008-11-03 23:25 ` Xavier Maillard [not found] ` <mailman.2772.1225715774.25473.help-gnu-emacs@gnu.org> 2008-11-03 13:27 ` Richard Riley 2008-11-04 13:19 ` Chris McMahan 2008-11-04 14:19 ` Richard Riley 2008-11-05 7:25 ` Xavier Maillard [not found] ` <mailman.2764.1225711684.25473.help-gnu-emacs@gnu.org> [not found] ` <4d476218-bd76-4d41-8a12-1428dfba9e9b@s9g2000prg.googlegroups.com> 2008-11-05 7:25 ` Xavier Maillard [not found] ` <mailman.2966.1225952942.25473.help-gnu-emacs@gnu.org> 2008-11-06 14:31 ` Xah 2008-11-06 16:32 ` Alan Mackenzie 2008-11-06 18:12 ` Giorgos Keramidas 2008-11-07 1:22 ` Xah 2008-11-07 3:50 ` Giorgos Keramidas 2008-11-07 5:42 ` Xah 2008-11-07 7:48 ` Giorgos Keramidas 2008-11-07 8:07 ` Xah [not found] ` <mailman.3000.1225988502.25473.help-gnu-emacs@gnu.org> 2008-11-07 1:01 ` Xah 2008-11-07 10:04 ` Alan Mackenzie 2008-11-07 10:29 ` Paul R 2008-11-07 23:51 ` Alan Mackenzie 2008-11-08 1:14 ` Lennart Borgman 2008-11-10 21:25 ` Xavier Maillard 2008-11-10 21:25 ` Xavier Maillard [not found] ` <mailman.3052.1226051600.25473.help-gnu-emacs@gnu.org> 2008-11-07 17:43 ` Xah 2008-11-06 18:02 ` Alan Mackenzie 2008-11-07 6:24 ` Kevin Rodgers [not found] ` <mailman.3010.1225993912.25473.help-gnu-emacs@gnu.org> 2008-11-06 20:02 ` Rupert Swarbrick 2008-11-07 2:02 ` Xah 2008-11-07 10:24 ` Eli Zaretskii 2008-11-07 10:54 ` Alan Mackenzie [not found] ` <mailman.3055.1226054611.25473.help-gnu-emacs@gnu.org> 2008-11-07 20:10 ` Xah 2008-11-08 18:57 ` Rupert Swarbrick 2008-11-08 21:33 ` Xah 2008-11-09 6:26 ` Wei Weng 2008-11-09 8:55 ` Xah 2008-11-10 21:25 ` Xavier Maillard [not found] ` <mailman.21.1226352538.26697.help-gnu-emacs@gnu.org> 2008-11-10 22:38 ` Xah 2008-11-12 2:28 ` Sean Sieger 2008-11-01 13:03 ` Andreas Politz 2008-11-03 11:25 ` Xavier Maillard [not found] ` <mailman.2763.1225711681.25473.help-gnu-emacs@gnu.org> 2008-11-06 16:51 ` Andreas Politz 2008-10-27 21:48 ` Andreas Politz 2008-10-28 10:50 ` Francis Moreau 2008-10-28 14:51 ` OtherMichael
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.