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: Tue, 9 Sep 2014 09:58:59 +0200 Organization: WMI UAM Message-ID: <20140909095859.13c697f1@aga-netbook> References: <87r3zpko3s.fsf@mithlond.arda> <87lhpvglqu.fsf@debian.uxu> <87vboxepal.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 1410249787 449 80.91.229.3 (9 Sep 2014 08:03:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Sep 2014 08:03: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 Tue Sep 09 10:03:03 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 1XRGKs-0007CQ-Vm for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Sep 2014 09:59:35 +0200 Original-Received: from localhost ([::1]:48059 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRGKs-0008Sg-JG for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Sep 2014 03:59:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRGKX-0008KT-8o for help-gnu-emacs@gnu.org; Tue, 09 Sep 2014 03:59:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRGKS-0008Mx-TS for help-gnu-emacs@gnu.org; Tue, 09 Sep 2014 03:59:13 -0400 Original-Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:47204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRGKS-0008Mo-J9 for help-gnu-emacs@gnu.org; Tue, 09 Sep 2014 03:59:08 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id D710845794 for ; Tue, 9 Sep 2014 09:59:06 +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 ZItvO8Md59Vx for ; Tue, 9 Sep 2014 09:59:06 +0200 (CEST) Original-Received: from aga-netbook (abvd91.neoplus.adsl.tpnet.pl [83.8.201.91]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 85D9E45773 for ; Tue, 9 Sep 2014 09:59:06 +0200 (CEST) In-Reply-To: <87vboxepal.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:99722 Archived-At: Dnia 2014-09-09, o godz. 00:10:58 Emanuel Berg napisa=C5=82(a): > Marcin Borkowski writes: >=20 > > 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.) >=20 > Indeed, there are many times - notably all programming > and configuration modes - where you don't want filling > and absolutely not automatically so. Is LaTeX mode a programming one? ;-) > >> 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. >=20 > If you can hide markup, what remains to do is a search > function that treaties newlines and whitespace the > same, as it can appear as a newline in the source, but > a whitespace in the .pdf. Very doable. >=20 > If you tell me how to hide in AUCTeX I'll install that > instantly and try it. https://www.gnu.org/software/auctex/manual/auctex/Folding.html > > 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... >=20 > I never tried Org-mode but I heard a lot about it so I > assume it is great. However for me personally I'm a bit > of a fanatic. I don't want any transitions between > representations. I'm not convinced I can write better > HTML, LaTeX, C++ documentation, etc. than Org-mode or > some other tool. But I'm not convinced of the opposite > either. And what tips the scale is that, if I run into > a problem with LaTeX/HTML/etc. I go right to the source > and fix it. If I used a [semi-]WYSIWYG, where would I > go? No, I'll stay close to the heat! I totally agree - especially with LaTeX, which I know very well. I tried to write a scientific article in Org-mode, got immediately frustrated (not Org's fault - the reason was that it was not LaTeX;)) and switched back to LaTeX. However, if I'm doing a document which contains TODO items, deadlines etc., then the ability to export it to html (so I can send it to a non-Emacs-savvy friend, for instance) is a big win. And Org's tables - exportable to LaTeX & HTML - are really, really great. One time I had a table in LaTeX - two rows and lots of columns - and needed to transpose it. Good luck, unless you convert it to Org-mode (manually, but fast due to string replacing), then transpose it in Org (one command) and export back to LaTeX's tabular. Best, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University