all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* package-install-from-buffer moves point
@ 2015-07-18 13:54 Peter Eisentraut
  2015-07-18 15:13 ` Artur Malabarba
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Eisentraut @ 2015-07-18 13:54 UTC (permalink / raw)
  To: emacs-devel

package-install-from-buffer moves the point to somewhere in the package
header, because it moves around there as it parses the header entries.
This is pretty annoying when developing and testing a package.

This could be fixed by wrapping the body of package-buffer-info into
save-excursion.  This worked well for me, but it somehow broke several
tests in package-test.el in ways that I don't understand.  E.g.,

Test package-test-describe-package condition:
    (wrong-type-argument number-or-marker-p "Trace/BPT trap: 5")
   FAILED   4/19  package-test-describe-package

Any ideas?



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-11-07 22:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-18 13:54 package-install-from-buffer moves point Peter Eisentraut
2015-07-18 15:13 ` Artur Malabarba
2015-07-19 16:12   ` Peter Eisentraut
2015-07-19 17:06     ` Artur Malabarba
2015-11-07 18:03       ` Peter Eisentraut
2015-11-07 22:51         ` Artur Malabarba

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.