From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: How to do write-region, but modify Date: Sat, 25 Oct 2014 20:44:42 +0200 Message-ID: <87ioj80z1h.fsf@zigzag.favinet> References: <877fzo5h81.fsf@wmi.amu.edu.pl> Reply-To: help-gnu-emacs@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1414262479 1477 80.91.229.3 (25 Oct 2014 18:41:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Oct 2014 18:41:19 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 25 20:41:12 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 1Xi6H2-0005Pk-2W for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Oct 2014 20:41:12 +0200 Original-Received: from localhost ([::1]:54383 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xi6H1-0003vm-Ls for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Oct 2014 14:41:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xi6Gk-0003vX-5R for help-gnu-emacs@gnu.org; Sat, 25 Oct 2014 14:41:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xi6Ge-0005qT-00 for help-gnu-emacs@gnu.org; Sat, 25 Oct 2014 14:40:54 -0400 Original-Received: from smtp206.alice.it ([82.57.200.102]:63126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xi6Gd-0005qF-Mj for help-gnu-emacs@gnu.org; Sat, 25 Oct 2014 14:40:47 -0400 Original-Received: from zigzag.favinet (80.116.65.48) by smtp206.alice.it (8.6.060.28) id 5440E1E101EC4835 for help-gnu-emacs@gnu.org; Sat, 25 Oct 2014 20:40:46 +0200 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1Xi6KY-0001xz-C9 for help-gnu-emacs@gnu.org; Sat, 25 Oct 2014 20:44:50 +0200 Mail-Followup-To: help-gnu-emacs@gnu.org In-Reply-To: <877fzo5h81.fsf@wmi.amu.edu.pl> (Marcin Borkowski's message of "Sat, 25 Oct 2014 16:58:22 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.102 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:100609 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Marcin Borkowski () Sat, 25 Oct 2014 16:58:22 +0200 Any suggestions on how to improve this code? =E2=80=98insert=E2=80=99 is fine when you drop from above; =E2=80=98insert-buffer=E2=80=99 better for a sideways shove; =E2=80=98insert-buffer-substring=E2=80=99 best for nuanced love. =2D-=20 Thien-Thi Nguyen GPG key: 4C807502 (if you're human and you know it) read my lisp: (responsep (questions 'technical) (not (via 'mailing-list))) =3D> nil --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlRL75wACgkQZwMiJEyAdQIjVwCgnSntuVweVgWPHDDkPH59s0OB YKkAnRKaLm0/tSjqN6WFk0DL3Ob2ClCj =DUNg -----END PGP SIGNATURE----- --=-=-=--