Article View: news.software.nntp
Article #86412Re: Is there a way to change Pan 0.139 keyboard shortcut for "SEND"?
From: Vinny Perado
Date: Mon, 29 Dec 2014 15:45
Date: Mon, 29 Dec 2014 15:45
54 lines
3638 bytes
3638 bytes
On Mon, 29 Dec 2014 15:24:19 +0000, Vinny Perado wrote: > For example, here is the exact same question: > http://lists.gnu.org/archive/html/pan-users/2013-07/msg00017.html Thanks for all the help. The problem has been resolved! Apparently Pan changed the syntax a _lot_ between that thread and now, but the _idea_ in that thread worked perfectly! OLD: http://i62.tinypic.com/2i78npv.png NEW: http://i62.tinypic.com/2i78npv.png Notice the obvious step, which is to manually change the Pan keyboard shortcut in the Pan GUI, failed every time: http://i57.tinypic.com/2le3seb.png It turned out that the _only_ way that worked to disable the problematic control+enter unwarned send sequence was to edit the ~/.pan2/accels.txt file (there was no pan.hotkeys file). Here is a quick summary for the next person to benefit. ------------------------------------------------------ Fix Pan's tendency to send a message too soon when you accidentally press "Control Enter" (which the newer pan calls "<Primary>Return"). Note that Thunderbird will ASK if you want to send, if you hit that keyboard sequence, but Pan will just prematurely send it. Modify pan's accels.txt to change the send shortcut from control return http://lists.gnu.org/archive/html/pan-users/2013-07/msg00017.html Pan dumps accels.txt (unordered) at quit and loads it at start. All default entries are commented out. If you change a default, remove the comment character (;) first! Don't use tab as it's problematic. Use ctrl-alt-shift-enter or something like that to remap, as it's not problematic. 1. Kill pan 2. $ vi ~/.pan2/accels.txt Change from either (prior to Pan 0.139): ; (gtk_accel_path "<Actions>/post/post-article" "<Control>Return") Or (Pan 0.139): ; (gtk_accel_path "<Actions>/post/post-article" "<Primary>Return") Change to: (gtk_accel_path "<Actions>/post/post-article" "<Control><Alt><Shift>z") or (gtk_accel_path "<Actions>/post/post-article" "<Primary><Alt><Shift>z") 3. Start pan and test. ------------------------------------------------------
Technical Details
Message-ID:
<m7rsv6$ea3$1@news.albasani.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20150207.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news.albasani.net!.POSTED!not-for-mailReferences:
<m7g2t4$ffi$14@news.albasani.net> <m7pp76$sei$1@usenet.pasdenom.info> <m7rprl$3jd$3@news.albasani.net> <m7rrn2$c2g$1@news.albasani.net>Show Full Headers
Complete Article Headers
Message-ID: <m7rsv6$ea3$1@news.albasani.net> Subject: Re: Is there a way to change Pan 0.139 keyboard shortcut for "SEND"? Date: Mon, 29 Dec 2014 15:45:43 +0000 From: Vinny Perado <vinnyp@notreal.invalid> References: <m7g2t4$ffi$14@news.albasani.net> <m7pp76$sei$1@usenet.pasdenom.info> <m7rprl$3jd$3@news.albasani.net> <m7rrn2$c2g$1@news.albasani.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20150207.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news.albasani.net!.POSTED!not-for-mail Newsgroups: alt.os.linux.ubuntu,news.software.nntp Organization: albasani.net Lines: 54 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: news.albasani.net ujfDMHAeH/6yJFqBU96ne5yTmpVj0PyiE3JAfNXJX6UjCB124UWpIGfrQ8Og0OgF9GorKsvXjKZNR1hvh/FyVdnrHBr6pFsjvTNGVFeWY10cWu0BwWvyGjAlX9fZ7fz1 NNTP-Posting-Date: Mon, 29 Dec 2014 15:45:43 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="lGSHemeDc9Ecyr0SY/1BNGU43TD8mXn/LDuoCD1xnbPCFNfkbMB3NtDYdtfySbAmIxRvvbO7lId+/HfpSmAMfm1rgHhakq8Wb1arez2gGPMr0vzw0FN6X3oxF0YJ9Tr0"; mail-complaints-to="abuse@albasani.net" Cancel-Lock: sha1:0NK3UTI1OSFI45t6CjjFdx4bPq4=