all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Deniz Dogan <deniz@dogan.se>
To: emacs-devel@gnu.org
Subject: Re: Reminder about feature freeze
Date: Wed, 17 Aug 2011 15:48:19 +0200	[thread overview]
Message-ID: <4E4BC6A3.40004@dogan.se> (raw)
In-Reply-To: <8762nqf0s8.fsf@stupidchicken.com>

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

On 2011-06-28 17:12, Chong Yidong wrote:
> Just a reminder: the pretest is scheduled for late July, as discussed at
> http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00953.html.
>
> In order to ensure a smooth transition to the pretest, I encourage
> everyone who has a pending patch that implements a new feature to commit
> it, or ask to have it committed, ASAP.  If committing during July,
> please discuss on emacs-devel first.
>
> If you're aware of any languishing patch that ought to be included in
> Emacs 24, please point it out.  Thanks.
>

So as I understand it we are now in the feature freeze.  I have a minor 
addition (feature) for rcirc that I'd like to push.  It adds the option 
to fill according to window width or a user's custom function.  See the 
attachment.

Is it okay to push this to trunk?

Deniz Dogan

[-- Attachment #2: rcirc-window-width.patch --]
[-- Type: text/plain, Size: 1306 bytes --]

=== modified file 'lisp/net/rcirc.el'
--- lisp/net/rcirc.el	2011-08-04 00:58:07 +0000
+++ lisp/net/rcirc.el	2011-08-17 13:43:29 +0000
@@ -149,7 +149,9 @@
 maximum frame width."
   :type '(choice (const :tag "Value of `fill-column'")
 		 (const :tag "Full frame width" frame-width)
-		 (integer :tag "Number of columns"))
+		 (const :tag "Full window width" window-width)
+		 (integer :tag "Number of columns")
+		 (function :tag "Return value of function" function))
   :group 'rcirc)
 
 (defcustom rcirc-fill-prefix nil
@@ -2421,13 +2423,16 @@
     (let ((fill-prefix
 	   (or rcirc-fill-prefix
 	       (make-string (- (point) (line-beginning-position)) ?\s)))
-	  (fill-column (- (cond ((eq rcirc-fill-column 'frame-width)
-				 (1- (frame-width)))
-				(rcirc-fill-column
-				 rcirc-fill-column)
-				(t fill-column))
-			  ;; make sure ... doesn't cause line wrapping
-			  3)))
+	  (fill-column
+	   (cond ((eq rcirc-fill-column 'frame-width)
+		  (1- (frame-width)))
+		 ((eq rcirc-fill-column 'window-width)
+		  (1- (window-width)))
+		 ((fboundp rcirc-fill-column) ; custom function
+		  (funcall rcirc-fill-column sender response))
+		 (rcirc-fill-column    	; fix integer value
+		  rcirc-fill-column)
+		 (t fill-column))))
       (fill-region (point) (point-max) nil t))))
 \f
 ;;; handlers


  parent reply	other threads:[~2011-08-17 13:48 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-28 15:12 Reminder about feature freeze Chong Yidong
2011-06-28 15:41 ` Juanma Barranquero
2011-06-30  2:42   ` Juanma Barranquero
2011-06-30 15:50     ` Chong Yidong
2011-06-30 16:25       ` Juanma Barranquero
2011-07-02  2:55       ` Jason Rumney
2011-07-03 17:08         ` Stefan Monnier
2011-06-28 15:54 ` Deniz Dogan
2011-06-28 16:16   ` Glenn Morris
2011-07-01  9:40 ` Bastien
2011-07-01 15:21   ` Chong Yidong
2011-07-01 16:47   ` Stefan Monnier
2011-07-04 10:30     ` Bastien
2011-07-04 14:13       ` martin rudalics
2011-07-05 10:12         ` Bastien
2011-07-01  9:43 ` Bastien
2011-07-01 16:46   ` Stefan Monnier
2011-07-04 10:33     ` Bastien
2011-07-04 16:00       ` Chong Yidong
2011-07-05 10:11         ` Bastien
2011-07-04 16:19       ` Stefan Monnier
2011-07-04 18:54         ` Richard Stallman
2011-07-04 18:54       ` Richard Stallman
2011-07-07 20:23     ` Bastien
2011-07-07 20:38       ` Glenn Morris
2011-07-08  9:42         ` Bastien
2011-07-18  3:54         ` Lars Magne Ingebrigtsen
2011-07-08  9:51     ` Bastien
2011-08-17 13:48 ` Deniz Dogan [this message]
2011-08-17 16:51   ` Dimitri Fontaine
2011-08-20 19:14     ` Chong Yidong
2011-09-11 18:22       ` Dimitri Fontaine
2011-09-17 13:58       ` Deniz Dogan
2011-09-17 19:45         ` Chong Yidong
2011-08-20 19:12   ` Chong Yidong
2011-08-22 19:06     ` Deniz Dogan
  -- strict thread matches above, loose matches on Subject: below --
2011-07-05 12:17 Andrey Paramonov
2011-07-05 13:15 ` Bastien
2011-07-05 14:25 ` Tassilo Horn
2011-07-05 21:05 ` Richard Stallman
2011-07-06 11:06 ` Richard Riley

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=4E4BC6A3.40004@dogan.se \
    --to=deniz@dogan.se \
    --cc=emacs-devel@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.