<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: How to not switch to Dvorak</title>
	<atom:link href="http://peadrop.com/blog/2007/12/30/how-to-not-switch-to-dvorak/feed/" rel="self" type="application/rss+xml" />
	<link>http://peadrop.com/blog/2007/12/30/how-to-not-switch-to-dvorak/</link>
	<description>Random Computer Musings</description>
	<pubDate>Thu, 20 Nov 2008 21:18:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Alexandre</title>
		<link>http://peadrop.com/blog/2007/12/30/how-to-not-switch-to-dvorak/#comment-222</link>
		<dc:creator>Alexandre</dc:creator>
		<pubDate>Fri, 11 Jan 2008 03:27:19 +0000</pubDate>
		<guid isPermaLink="false">http://peadrop.com/blog/2007/12/30/how-to-not-switch-to-dvorak/#comment-222</guid>
		<description>&lt;p&gt;Thanks! I did a small modification to avoid the global variable. Here is the result:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;(defun nuke-line ()
  "Kill the entire current line"
  (interactive)
  (let ((previous-column (current-column)))
    (end-of-line)
    (if (= (current-column) 0)
        (delete-char 1)
        (progn
          (beginning-of-line)
          (kill-line)
          (delete-char 1)
          (move-to-column previous-column)))))&lt;/code&gt;&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks! I did a small modification to avoid the global variable. Here is the result:</p>

<pre><code>(defun nuke-line ()
  "Kill the entire current line"
  (interactive)
  (let ((previous-column (current-column)))
    (end-of-line)
    (if (= (current-column) 0)
        (delete-char 1)
        (progn
          (beginning-of-line)
          (kill-line)
          (delete-char 1)
          (move-to-column previous-column)))))</code></pre>]]></content:encoded>
	</item>
	<item>
		<title>By: Martial Boniou</title>
		<link>http://peadrop.com/blog/2007/12/30/how-to-not-switch-to-dvorak/#comment-221</link>
		<dc:creator>Martial Boniou</dc:creator>
		<pubDate>Thu, 10 Jan 2008 10:32:30 +0000</pubDate>
		<guid isPermaLink="false">http://peadrop.com/blog/2007/12/30/how-to-not-switch-to-dvorak/#comment-221</guid>
		<description>&lt;p&gt;No problem!&lt;/p&gt;

&lt;pre&gt;
&lt;code&gt;
(defvar previous-column nil "Save the column position")
(defun nuke-line()
  "kill the entire current line"
  (interactive)
  (setq previous-column (current-column))
  (end-of-line)
  (if (= (current-column) 0)
    (delete-char 1)
    (progn
      (beginning-of-line)
      (kill-line)
      (delete-char 1)
      (move-to-column previous-column))))
&lt;/code&gt;
&lt;/pre&gt;

&lt;p&gt;Et voilà!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>No problem!</p>

<pre>
<code>
(defvar previous-column nil "Save the column position")
(defun nuke-line()
  "kill the entire current line"
  (interactive)
  (setq previous-column (current-column))
  (end-of-line)
  (if (= (current-column) 0)
    (delete-char 1)
    (progn
      (beginning-of-line)
      (kill-line)
      (delete-char 1)
      (move-to-column previous-column))))
</code>
</pre>

<p>Et voilà!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandre</title>
		<link>http://peadrop.com/blog/2007/12/30/how-to-not-switch-to-dvorak/#comment-220</link>
		<dc:creator>Alexandre</dc:creator>
		<pubDate>Thu, 10 Jan 2008 02:50:35 +0000</pubDate>
		<guid isPermaLink="false">http://peadrop.com/blog/2007/12/30/how-to-not-switch-to-dvorak/#comment-220</guid>
		<description>&lt;p&gt;I haven't given up Dvorak yet. It is just, right now, I don't have any reason to learn it -- i.e., I am happy with my typing speed and the Qwerty layout doesn't feel uncomfortable to me -- except for the fun learning something new.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;code&gt;;;; delete the current line a la vi with dd&lt;br /&gt;; C-` nuke-line&lt;/code&gt;
&lt;/blockquote&gt;

&lt;p&gt;Hm. I think am going to steal you that one. If you are interested, you can steal one of &lt;a href="http://svn.peadrop.com/emacs/lisp/ekeys.el" rel="nofollow"&gt; my key bindings&lt;/a&gt; in exchange. :-)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t given up Dvorak yet. It is just, right now, I don&#8217;t have any reason to learn it &#8212; i.e., I am happy with my typing speed and the Qwerty layout doesn&#8217;t feel uncomfortable to me &#8212; except for the fun learning something new.</p>

<blockquote>
  <code>;;; delete the current line a la vi with dd<br />; C-` nuke-line</code>
</blockquote>

<p>Hm. I think am going to steal you that one. If you are interested, you can steal one of <a href="http://svn.peadrop.com/emacs/lisp/ekeys.el" rel="nofollow"> my key bindings</a> in exchange. <img src='http://peadrop.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: Martial Boniou</title>
		<link>http://peadrop.com/blog/2007/12/30/how-to-not-switch-to-dvorak/#comment-219</link>
		<dc:creator>Martial Boniou</dc:creator>
		<pubDate>Wed, 09 Jan 2008 16:07:08 +0000</pubDate>
		<guid isPermaLink="false">http://peadrop.com/blog/2007/12/30/how-to-not-switch-to-dvorak/#comment-219</guid>
		<description>&lt;p&gt;I use dvorak keyboards for 3 years now and it's a real great pleasure for me. As a vim user, I even noticed that this layout is better than the Qwerty. I think that giving up for key bindings problem is not a good reason, especially when we are developers (software are our slaves, not the contrary). Of course, it's a bit hard to switch, especially when we may work on the machines of other users. Let me give you my key binding tips for your emacs (brackets are here to show you the position on a Qwerty layout):&lt;/p&gt;

&lt;pre&gt;
;;; Sun functions keys' order
C-; C-;  kill-region [C-z C-z]
C-; C-a yank [C-z C-a]
C-; C-' copy-region-as-kill [C-z C-q]
;;; because of the copy-paste remapping, C-w and C-h are used in the VT100
C-w backward-kill-word
C-h delete-backward-char
;;; undo and redo
 undo
 redo (beware of MS, need redo.el)
;;; linemark.el
C-' viss-bookmark-toggle [C-q]
C-" viss-bookmark-clear-all-buffer (memo: C-S-') [C-Q]
C-, viss-bookmark-prev-buffer (memo: , is "" place too) [C-e]
;;; delete the current line a la vi with dd
; C-` nuke-line
&lt;/pre&gt;

&lt;p&gt;I must say that I use 'Ctrl' in the classical place (Atari, NeXT, SUN, AT) where the 'Caps-lock' key is now on Mac and PC. So I have all my previous bindings available with my left hand.

I hope this help!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I use dvorak keyboards for 3 years now and it&#8217;s a real great pleasure for me. As a vim user, I even noticed that this layout is better than the Qwerty. I think that giving up for key bindings problem is not a good reason, especially when we are developers (software are our slaves, not the contrary). Of course, it&#8217;s a bit hard to switch, especially when we may work on the machines of other users. Let me give you my key binding tips for your emacs (brackets are here to show you the position on a Qwerty layout):</p>

<pre>
;;; Sun functions keys' order
C-; C-;  kill-region [C-z C-z]
C-; C-a yank [C-z C-a]
C-; C-&#8217; copy-region-as-kill [C-z C-q]
;;; because of the copy-paste remapping, C-w and C-h are used in the VT100
C-w backward-kill-word
C-h delete-backward-char
;;; undo and redo
 undo
 redo (beware of MS, need redo.el)
;;; linemark.el
C-&#8217; viss-bookmark-toggle [C-q]
C-&#8221; viss-bookmark-clear-all-buffer (memo: C-S-&#8217;) [C-Q]
C-, viss-bookmark-prev-buffer (memo: , is &#8220;&#8221; place too) [C-e]
;;; delete the current line a la vi with dd
; C-` nuke-line
</pre>

<p>I must say that I use &#8216;Ctrl&#8217; in the classical place (Atari, NeXT, SUN, AT) where the &#8216;Caps-lock&#8217; key is now on Mac and PC. So I have all my previous bindings available with my left hand.

I hope this help!</p>]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.408 seconds -->
