all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: GNU Emacs users list <help-gnu-emacs@gnu.org>
Subject: Using backward-char non-interactively
Date: Tue, 31 Dec 2013 14:58:43 +0100	[thread overview]
Message-ID: <20131231145843.661d4304@aga-netbook> (raw)

Hi,

is it ok to use backward-char in elisp programs assuming that I did
check that I'm not at beginning of buffer?  Or is it better to use
(goto-char (1- point)) or something like that?  Or maybe it doesn't
matter?  ("Better" may be in terms of style, speed, or side effects,
like cluttering the *Messages* buffer.)

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University



             reply	other threads:[~2013-12-31 13:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-31 13:58 Marcin Borkowski [this message]
2013-12-31 18:10 ` Using backward-char non-interactively Andreas Röhler
     [not found] <mailman.10751.1388498331.10748.help-gnu-emacs@gnu.org>
2013-12-31 14:56 ` Barry Margolin
2013-12-31 17:55   ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131231145843.661d4304@aga-netbook \
    --to=mbork@wmi.amu.edu.pl \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.