all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ken <gebser@mousecar.com>
To: GNU Emacs List <help-gnu-emacs@gnu.org>
Subject: (goto-char ...) error
Date: Tue, 22 Feb 2011 11:47:18 -0500	[thread overview]
Message-ID: <4D63E896.5010503@mousecar.com> (raw)

Performing one search, I save the result with

(setq ptname (re-search-forward ...))

Then I want to back up one character and perform another search, so I do

(goto-char (- ptname 1))

But this pukes an error.  What's unkosher here?


tnx.



             reply	other threads:[~2011-02-22 16:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-22 16:47 ken [this message]
2011-02-22 17:31 ` (goto-char ...) error Deniz Dogan
2011-02-22 18:24   ` ken
2011-02-22 18:45     ` Deniz Dogan
2011-02-22 19:22       ` ken
2011-02-22 19:45         ` Deniz Dogan
2011-02-22 20:55           ` Drew Adams
     [not found]       ` <mailman.1.1298402588.16069.help-gnu-emacs@gnu.org>
2011-02-22 22:50         ` Tim X
     [not found]   ` <mailman.11.1298399070.22047.help-gnu-emacs@gnu.org>
2011-02-22 22:27     ` Tim X
     [not found] <mailman.3.1298393577.375.help-gnu-emacs@gnu.org>
2011-02-22 22:15 ` Tim X

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=4D63E896.5010503@mousecar.com \
    --to=gebser@mousecar.com \
    --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.