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

* bug#10841: 24.0.92; Add field text property to ERC prompt
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2012-04-10  2:52 UTC (permalink / raw)
  To: Deniz Dogan; +Cc: 10841

Deniz Dogan <deniz@dogan.se> writes:

> 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.

Thanks; applied.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





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

* bug#10841: 24.0.92; Add field text property to ERC prompt
  2012-04-10  2:52 ` Lars Magne Ingebrigtsen
@ 2012-06-17 13:20   ` Deniz Dogan
  2012-06-17 18:55     ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Deniz Dogan @ 2012-06-17 13:20 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 10841

On 2012-04-10 04:52,, Lars Magne Ingebrigtsen wrote:
> Deniz Dogan <deniz@dogan.se> writes:
>
>> 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.
>
> Thanks; applied.
>

Did this somehow get lost in the release of 24.1?  Now the properties are:

(face erc-prompt-face start-open t rear-nonsticky t erc-prompt t 
front-sticky t read-only t)

I'm using: GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN

Deniz






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

* bug#10841: 24.0.92; Add field text property to ERC prompt
  2012-06-17 13:20   ` Deniz Dogan
@ 2012-06-17 18:55     ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2012-06-17 18:55 UTC (permalink / raw)
  To: Deniz Dogan; +Cc: Lars Magne Ingebrigtsen, 10841

Deniz Dogan wrote:

> Did this somehow get lost in the release of 24.1?  Now the properties are:

It was never in the emacs-24 branch, only the trunk. Note that the bug
is marked as fixed in 24.2, not 24.1.





^ 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).