all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Error on `get-text-property`
@ 2021-11-28 15:07 guo.yong--- via Users list for the GNU Emacs text editor
  2021-11-28 15:19 ` Emanuel Berg via Users list for the GNU Emacs text editor
  2021-11-28 16:46 ` Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 2 replies; 6+ messages in thread
From: guo.yong--- via Users list for the GNU Emacs text editor @ 2021-11-28 15:07 UTC (permalink / raw)
  To: Help Gnu Emacs

Hello.

I'm using `smartparens-mode` and it causes an erorr when I try to delete word when the kill ring is empty.

From the backtrack, the error occured from `kill-append`. The reason is that `kill-append` calls `get-text-property` in the function. But when the kill ring is empty, the function call is `(get-text-property 0 'yank-handler nil)` which cause the error.

I don't know Elisp well so I'm at lost. Is there any workaround for this problem or do I have to report this to Emacs devs (the functions are from `simple.el`)?

Regards.Yong.

P.S. This is my first time using mailing list. Sorry for the previous mail from me (https://lists.gnu.org/archive/html/help-gnu-emacs/2021-11/msg00415.html)


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

end of thread, other threads:[~2021-11-30 15:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-28 15:07 Error on `get-text-property` guo.yong--- via Users list for the GNU Emacs text editor
2021-11-28 15:19 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-11-29  0:51   ` guo.yong--- via Users list for the GNU Emacs text editor
2021-11-29 10:32     ` Michael Heerdegen
2021-11-30 15:17       ` guo.yong--- via Users list for the GNU Emacs text editor
2021-11-28 16:46 ` Emanuel Berg via Users list for the GNU Emacs text editor

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.