From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: emacs and beginning of lines Date: Mon, 8 Sep 2014 18:31:16 +0700 Message-ID: References: <87r3zpko3s.fsf@mithlond.arda> <87lhpvglqu.fsf@debian.uxu> <20140908111736.6be35f87@aga-netbook> 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 1410175903 21831 80.91.229.3 (8 Sep 2014 11:31:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2014 11:31:43 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Marcin Borkowski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 08 13:31:38 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 1XQxAW-00042U-Vj for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Sep 2014 13:31:37 +0200 Original-Received: from localhost ([::1]:42619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQxAW-0003jq-Ar for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Sep 2014 07:31:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQxAL-0003jf-50 for help-gnu-emacs@gnu.org; Mon, 08 Sep 2014 07:31:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XQxAF-0005K3-Up for help-gnu-emacs@gnu.org; Mon, 08 Sep 2014 07:31:25 -0400 Original-Received: from mail-ie0-x229.google.com ([2607:f8b0:4001:c03::229]:47781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQxAF-0005Jj-Ox for help-gnu-emacs@gnu.org; Mon, 08 Sep 2014 07:31:19 -0400 Original-Received: by mail-ie0-f169.google.com with SMTP id rl12so1905222iec.0 for ; Mon, 08 Sep 2014 04:31:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=1alb85irkAVRCRGHUnCdmJUCD3KcOHZ/f15pnUQZBg8=; b=IRFcnpP7J1/QN3YzY85efUf8PDCMh1RebEe3iSgbyyzeKfaGgj+r5QVTez9JABqrcA q3qtefQjmcT/CeJ6AjBDSyN/9mrmyAoZ/kyD8qNEqQrDKkmU8priYFwb/ROg7Jv67zu7 3+uyGhTXjoHsXMPQDVQmwSM7C3Uu29WmBrSxDSQUpk4lkMzJ6pd/0UkqAPDpRByG6EDU TK89GQHN1V2BG7Nv5hnRaVTUQUxNnF3LzSzNrUWbVoy2jrjBMFzaynJwEtDVIGRf6JKw NcoTxdPkW+1dz9nPiQ7vkFbAJJrzHiejBsP9uJsxlXL3Z3f+ouhMOzppZCHIq4okqQLz ohhQ== X-Received: by 10.42.188.7 with SMTP id cy7mr436015icb.91.1410175877024; Mon, 08 Sep 2014 04:31:17 -0700 (PDT) Original-Received: by 10.107.130.3 with HTTP; Mon, 8 Sep 2014 04:31:16 -0700 (PDT) In-Reply-To: <20140908111736.6be35f87@aga-netbook> X-Google-Sender-Auth: rNK8l-DQfXNuXpYgpIXQXB1IsbI X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::229 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:99693 Archived-At: On Mon, Sep 8, 2014 at 4:17 PM, Marcin Borkowski wro= te: > Dnia 2014-09-07, o godz. 23:32:25 > Emanuel Berg napisa=C5=82(a): > >> Marcin Borkowski writes: >> >> > 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 >> >> 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) >> >> 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, > > -- > Marcin Borkowski > http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski > Adam Mickiewicz University >