unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10841: 24.0.92; Add field text property to ERC prompt
@ 2012-02-18 20:56 Deniz Dogan
  2012-04-10  2:52 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Deniz Dogan @ 2012-02-18 20:56 UTC (permalink / raw)
  To: 10841

[-- Attachment #1: Type: text/plain, Size: 189 bytes --]

Attached is a patch which adds the field text property to the ERC
prompt.  This allows users to use `kill-whole-line' to kill all text
back to the prompt given that it's on a single line.


[-- Attachment #2: Patch --]
[-- Type: text/plain, Size: 361 bytes --]

=== modified file 'lisp/erc/erc.el'
--- lisp/erc/erc.el	2012-01-19 07:21:25 +0000
+++ lisp/erc/erc.el	2012-02-18 20:50:44 +0000
@@ -3646,6 +3646,7 @@
 				     'start-open t ; XEmacs
 				     'rear-nonsticky t ; Emacs
 				     'erc-prompt t
+				     'field t
 				     'front-sticky t
 				     'read-only t))
 	(erc-put-text-property 0 (1- (length prompt))

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

end of thread, other threads:[~2012-06-17 18:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-18 20:56 bug#10841: 24.0.92; Add field text property to ERC prompt Deniz Dogan
2012-04-10  2:52 ` Lars Magne Ingebrigtsen
2012-06-17 13:20   ` Deniz Dogan
2012-06-17 18:55     ` Glenn Morris

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).