From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Emacs Book Vs Emacs Manuals Date: Sun, 28 Jun 2015 17:47:37 +0200 Message-ID: <87zj3jn8bq.fsf@nl106-137-147.student.uu.se> References: <554C9356.5000204@gmail.com> <20150508125314086261755@bob.proulx.com> <87bnhuc177.fsf@mbork.pl> <55561B9E.4070101@arlsoft.com> <87y4kpfvct.fsf@debian.uxu> <87mvzmv7ef.fsf@nl106-137-147.student.uu.se> <871tgycjae.fsf@mbork.pl> <9e0032db-1717-4cd0-88bb-bd97219b65df@googlegroups.com> <87oak0lqrc.fsf@nl106-137-147.student.uu.se> <87mvzjc27u.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1435506571 8378 80.91.229.3 (28 Jun 2015 15:49:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Jun 2015 15:49:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 28 17:49:23 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z9Epe-0000YT-BZ for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Jun 2015 17:49:22 +0200 Original-Received: from localhost ([::1]:39257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9Epd-0006jt-Nb for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Jun 2015 11:49:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9EpO-0006jn-Ov for help-gnu-emacs@gnu.org; Sun, 28 Jun 2015 11:49:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9EpJ-000702-K0 for help-gnu-emacs@gnu.org; Sun, 28 Jun 2015 11:49:06 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:41342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9EpJ-0006zK-Co for help-gnu-emacs@gnu.org; Sun, 28 Jun 2015 11:49:01 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z9EpH-0000MX-Jw for help-gnu-emacs@gnu.org; Sun, 28 Jun 2015 17:48:59 +0200 Original-Received: from nl106-137-135.student.uu.se ([130.243.137.135]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Jun 2015 17:48:59 +0200 Original-Received: from embe8573 by nl106-137-135.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Jun 2015 17:48:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 49 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-135.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:2VNKOt1PDUNQiZfZuEiCzG0TwRE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105255 Archived-At: Marcin Borkowski writes: > (One other case I like keyboard macros is > rearranging things, e.g., paragraphs, in a buffer; > I open two windows with the same buffer, but with > the point in different places, and record a macro > which kills something in one window and yanks in the > other one. Very handy.) (defun kill-and-yank-other-window (beg end) (interactive "r") (kill-region beg end) (save-window-excursion (other-window 1) (yank) )) > If you edit text, which is somehow “graphical”, why > shouldn’t the code reflect the problem? Not that it > has to, but IMHO there’s nothing wrong if it does. It is good that the code is "graphical" (perhaps "visual" is a better word) in terms of simple but life-important features like font lock (syntax highlighting) and indentation, as well as the programmer's expert touch and personality to arrange code his way. This makes it easier to *see* the code, rather than having to *read* it all the time. For example, when I look at Lisp, I don't read the code, I only see blondes and brunettes and... No, those are nice little things (I mean, the font locks etc.) to make it pleasant and productive, and because of that, they are very important despite their littleness. However, it is not good if structure and purpose is expressed and controlled like that in a deeper sense. The code - the functions and keywords - should do that. When you want to change something, you shouldn't "rearrange" the code into some new pattern in the fourth dimension of Nirvana, you should change typically but a few function invocations or variable settings. -- underground experts united http://user.it.uu.se/~embe8573