unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: highlight-80+ --- highlight characters beyond column 80
       [not found] <m2d4kfvkyh.fsf@nschum.de>
@ 2008-08-11 23:05 ` Richard M. Stallman
  2008-08-12  1:08   ` Vinicius Jose Latorre
  0 siblings, 1 reply; 6+ messages in thread
From: Richard M. Stallman @ 2008-08-11 23:05 UTC (permalink / raw)
  To: Nikolaj Schumacher; +Cc: emacs-devel

    (defgroup highlight-80+ nil
      "Highlight characters beyond column 80."
      :group 'faces)

    (defcustom highlight-80+-columns 80
      "*Number of columns to allow in lines."
      :group 'highlight-80+
      :type 'integer)

Perhaps this should be a standard feature
so that this variable could have a shorter and more natural name.




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

* Re: highlight-80+ --- highlight characters beyond column 80
  2008-08-11 23:05 ` highlight-80+ --- highlight characters beyond column 80 Richard M. Stallman
@ 2008-08-12  1:08   ` Vinicius Jose Latorre
  2008-08-13 11:24     ` Nikolaj Schumacher
  2008-08-13 19:04     ` Dan Nicolaescu
  0 siblings, 2 replies; 6+ messages in thread
From: Vinicius Jose Latorre @ 2008-08-12  1:08 UTC (permalink / raw)
  To: rms; +Cc: Nikolaj Schumacher, emacs-devel


>     (defgroup highlight-80+ nil
>       "Highlight characters beyond column 80."
>       :group 'faces)
>
>     (defcustom highlight-80+-columns 80
>       "*Number of columns to allow in lines."
>       :group 'highlight-80+
>       :type 'integer)
>
> Perhaps this should be a standard feature
> so that this variable could have a shorter and more natural name.
>   


Well, whitespace.el has a similar feature:


;; Thanks to nschum (EmacsWiki) for the idea about highlight "long"
;; lines tail.  See EightyColumnRule (EmacsWiki).


(defcustom whitespace-line-column 80
  "*Specify column beyond which the line is highlighted.

Used when `whitespace-style' includes `lines' or `lines-tail'."
  :type '(integer :tag "Line Length")
  :group 'whitespace)





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

* Re: highlight-80+ --- highlight characters beyond column 80
  2008-08-12  1:08   ` Vinicius Jose Latorre
@ 2008-08-13 11:24     ` Nikolaj Schumacher
  2008-08-13 19:04     ` Dan Nicolaescu
  1 sibling, 0 replies; 6+ messages in thread
From: Nikolaj Schumacher @ 2008-08-13 11:24 UTC (permalink / raw)
  To: Vinicius Jose Latorre; +Cc: rms, emacs-devel

Vinicius Jose Latorre <viniciusjl@ig.com.br> wrote:

>>     (defgroup highlight-80+ nil
>>       "Highlight characters beyond column 80."
>>       :group 'faces)
>>
>> Perhaps this should be a standard feature
>> so that this variable could have a shorter and more natural name.
>
> Well, whitespace.el has a similar feature:
>
> ;; Thanks to nschum (EmacsWiki) for the idea about highlight "long"
> ;; lines tail.  See EightyColumnRule (EmacsWiki).

Yes, that would be me, as well.  I didn't know it had been implemented.
highlight-80+ is a materialization of the same idea, so it's probably
identical, give or take a few options.


regards,
Nikolaj Schumacher




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

* Re: highlight-80+ --- highlight characters beyond column 80
  2008-08-12  1:08   ` Vinicius Jose Latorre
  2008-08-13 11:24     ` Nikolaj Schumacher
@ 2008-08-13 19:04     ` Dan Nicolaescu
  2008-08-13 20:29       ` Vinicius Jose Latorre
  2008-08-15  0:56       ` Vinicius Jose Latorre
  1 sibling, 2 replies; 6+ messages in thread
From: Dan Nicolaescu @ 2008-08-13 19:04 UTC (permalink / raw)
  To: Vinicius Jose Latorre; +Cc: Nikolaj Schumacher, rms, emacs-devel

Vinicius Jose Latorre <viniciusjl@ig.com.br> writes:

  > >     (defgroup highlight-80+ nil
  > >       "Highlight characters beyond column 80."
  > >       :group 'faces)
  > >
  > >     (defcustom highlight-80+-columns 80
  > >       "*Number of columns to allow in lines."
  > >       :group 'highlight-80+
  > >       :type 'integer)
  > >
  > > Perhaps this should be a standard feature
  > > so that this variable could have a shorter and more natural name.
  > >   
  > 
  > 
  > Well, whitespace.el has a similar feature:
  > 
  > 
  > ;; Thanks to nschum (EmacsWiki) for the idea about highlight "long"
  > ;; lines tail.  See EightyColumnRule (EmacsWiki).

Can you please document this at least in etc/NEWS?  Otherwise it's very
hard to guess that such a feature would be found in whitespace.el ...


  > (defcustom whitespace-line-column 80
  >  "*Specify column beyond which the line is highlighted.
  > 
  > Used when `whitespace-style' includes `lines' or `lines-tail'."
  >  :type '(integer :tag "Line Length")
  >  :group 'whitespace)




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

* Re: highlight-80+ --- highlight characters beyond column 80
  2008-08-13 19:04     ` Dan Nicolaescu
@ 2008-08-13 20:29       ` Vinicius Jose Latorre
  2008-08-15  0:56       ` Vinicius Jose Latorre
  1 sibling, 0 replies; 6+ messages in thread
From: Vinicius Jose Latorre @ 2008-08-13 20:29 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: Nikolaj Schumacher, rms, emacs-devel

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

>   > >     (defgroup highlight-80+ nil
>   > >       "Highlight characters beyond column 80."
>   > >       :group 'faces)
>   > >
>
>   > >     (defcustom highlight-80+-columns 80
>   > >       "*Number of columns to allow in lines."
>   > >       :group 'highlight-80+
>   > >       :type 'integer)
>
>   > >
>   > > Perhaps this should be a standard feature
>   > > so that this variable could have a shorter and more natural name.
>   > >
>   >
>   >
>   > Well, whitespace.el has a similar feature:
>   >
>   >
>   > ;; Thanks to nschum (EmacsWiki) for the idea about highlight "long"
>   > ;; lines tail.  See EightyColumnRule (EmacsWiki).
>
>
> Can you please document this at least in etc/NEWS?  Otherwise it's very
> hard to guess that such a feature would be found in whitespace.el ...




You're right!  I had not much time to do it, but I'll put the whitespace.el
main features in etc/NEWS.



  > (defcustom whitespace-line-column 80
>   >  "*Specify column beyond which the line is highlighted.
>   >
>   > Used when `whitespace-style' includes `lines' or `lines-tail'."
>   >  :type '(integer :tag "Line Length")
>   >  :group 'whitespace)
>

[-- Attachment #2: Type: text/html, Size: 2233 bytes --]

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

* Re: highlight-80+ --- highlight characters beyond column 80
  2008-08-13 19:04     ` Dan Nicolaescu
  2008-08-13 20:29       ` Vinicius Jose Latorre
@ 2008-08-15  0:56       ` Vinicius Jose Latorre
  1 sibling, 0 replies; 6+ messages in thread
From: Vinicius Jose Latorre @ 2008-08-15  0:56 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: Nikolaj Schumacher, rms, emacs-devel


> Can you please document this at least in etc/NEWS?  Otherwise it's very
> hard to guess that such a feature would be found in whitespace.el ...
>   

I've just improved in CVS Emacs the whitespace information in etc/NEWS.





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

end of thread, other threads:[~2008-08-15  0:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <m2d4kfvkyh.fsf@nschum.de>
2008-08-11 23:05 ` highlight-80+ --- highlight characters beyond column 80 Richard M. Stallman
2008-08-12  1:08   ` Vinicius Jose Latorre
2008-08-13 11:24     ` Nikolaj Schumacher
2008-08-13 19:04     ` Dan Nicolaescu
2008-08-13 20:29       ` Vinicius Jose Latorre
2008-08-15  0:56       ` Vinicius Jose Latorre

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