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: replace-regexp, the byte-compiler, docstrings, and suggestions Date: Fri, 17 Oct 2014 01:55:25 +0200 Organization: Aioe.org NNTP Server Message-ID: <87tx336042.fsf@debian.uxu> References: <874mv9uopo.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1413504031 2641 80.91.229.3 (17 Oct 2014 00:00:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2014 00:00: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 Fri Oct 17 02:00:24 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 1Xeuxv-0005no-M9 for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Oct 2014 02:00:19 +0200 Original-Received: from localhost ([::1]:55169 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xeuxv-0002J0-1h for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Oct 2014 20:00:19 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-NNTP-Posting-Host: tVmDpoMHMwv4gohs+B1D3A.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:9qD/q3Nex/Fry/ID1z1/xai0LVQ= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:208193 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:100469 Archived-At: John Mastro writes: > I sent this from my phone. I think the formatting > should be okay, but apologies in advance if I'm wrong > about that. No, looks good. > Would indent-rigidly (or, less likely, > indent-code-rigidly) do what you want? Yeah, indent-rigidly is close only this (indent-rigidly (region-beginning) (region-end) 4) seems to sometimes insert tabs (one tab and one space in text-mode, but four spaces in message-mode what I can see). If you can have it not do that (insert tabs, ever) I'm happy. (I have tabs removed on save but I still don't like to insert them for the same reason I have them removed.) Question is (which I didn't mention in my OP), should the region be refilled after it gets the new margin, and, if so, what should the fill-column be? > To indent by four spaces you would do something like > C-4 C-x Yeah, you mean `C-u 4 C-x TAB'? (`C-x TAB' is `indent-rigidly'.) -- underground experts united