From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: emacs and beginning of lines Date: Mon, 8 Sep 2014 11:17:36 +0200 Organization: WMI UAM Message-ID: <20140908111736.6be35f87@aga-netbook> References: <87r3zpko3s.fsf@mithlond.arda> <87lhpvglqu.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1410167887 20502 80.91.229.3 (8 Sep 2014 09:18:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2014 09:18:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 08 11:18:01 2014 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 1XQv5E-0001p7-NN for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Sep 2014 11:18:00 +0200 Original-Received: from localhost ([::1]:41812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQv5E-0001j4-A7 for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Sep 2014 05:18:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQv50-0001ix-Dd for help-gnu-emacs@gnu.org; Mon, 08 Sep 2014 05:17:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XQv4v-0004k8-MD for help-gnu-emacs@gnu.org; Mon, 08 Sep 2014 05:17:46 -0400 Original-Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:41939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQv4v-0004k4-AL for help-gnu-emacs@gnu.org; Mon, 08 Sep 2014 05:17:41 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 4AE1E46C6C for ; Mon, 8 Sep 2014 11:17:40 +0200 (CEST) Original-Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MtpOHqx0A9oG for ; Mon, 8 Sep 2014 11:17:40 +0200 (CEST) Original-Received: from aga-netbook (abps213.neoplus.adsl.tpnet.pl [83.8.60.213]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id C964C46C65 for ; Mon, 8 Sep 2014 11:17:39 +0200 (CEST) In-Reply-To: <87lhpvglqu.fsf@debian.uxu> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.20; i686-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:808:114:2::50 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:99691 Archived-At: Dnia 2014-09-07, o godz. 23:32:25 Emanuel Berg napisa=C5=82(a): > Marcin Borkowski writes: >=20 > > BTW: back-to-indentation seems to be broken with > > visual-line-mode; it doesn't take into consideration, > > well, /visual/ lines. One might argue that it is a > > feature, but I think this is a bug: I guess that > > visual-line-mode is primarily useful for editing > > texts in natural languages >=20 > Yes, primarily that, like in plain text files. (Tho I > would recommend filling for that as well, as said.) If you use a VCS and look at a diff from time to time, filling might be a bad idea. (Though visual-line-mode is not helpful then, either.) > > (or markup languages, like LaTeX in my case) >=20 > Secondarily that, but for a .tex file you might as well > use auto-fill-mode as when you compile it (into a PDF) > that will be treated as unbroken lines. As above. > The second complication is that in the .pdf, it may > look like this "My friends told me" - say you want to > change that to "My associates" or whatever - and you > make a search for "My friends" - no hit! Because in the > source, it appears at the end of a line and there is a > "source line break" (but not PDF line break) right > after "My". A regexp search would do it, but it is > nothing I would like to do habitually and I wouldn't > intuitively think of that right away. Could be > automatized, perhaps... I vaguely remember reading somewhere that Emacs 24.4 solves this... > Searching for stuff in LaTeX source can actually be > tedious for this reason, but on a larger scale as well, > because of the markup in general. But for words that > are bold, for example, you see they are bold instantly > (in the .pdf), but for line breaks it doesn't show that > way. True. > Is there a LaTeX submode for hiding markup or search > function to disregard it? That would be cool. Hiding is much easier, AFAIK AUCTeX supports that. Searching might be tricky, though. (If all you need is searching for a sequence of /words/, it would probably make it easier. Also, you could have a second buffer with all your document "detexified" and somehow link it to the main one... A bit of overhead with updating it, but probably doable.) > Those and other reasons is why I always stick to plain > text unless for really ambitious documents like thesis > and books/manuals that are intended for printing. It is > just so much more overhead than the simple and sweet > science of putting together plain text files and > messages. It is also more honest: if you are a moron, > it'll show. There is just no where to hide between > fancy markup. Fair enough. OTOH, some things are easier to mark up (at least for me) in LaTeX than, say, in Org-mode. But it might be the question of experience and my habits... Best, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University