Stephen Leake <[EMAIL PROTECTED]> writes:

> Michael Olson <[EMAIL PROTECTED]> writes:
>
>>   * lisp/dvc-fileinfo.el: Wrap lines beyond column 78.  Develock
>>     doesn't like these.
>
> What's Develock?

Quoting from the header:

;; Develock is a minor mode which provides the ability to make font-
;; lock highlight leading and trailing whitespace, long lines and
;; oddities in the file buffer for Lisp modes, ChangeLog mode, Texinfo
;; mode, C modes, Java mode, Jde-mode , CPerl mode, Perl mode, HTML
;; modes, some Mail modes, Tcl mode and Ruby mode.

It's useful for

 - Lines that are too long.
 - Getting rid of incorrect mixtures of tabs and spaces.

Both of these things it enables you to visualize by highlighting them in
yellow and red.

> ask.com found: http://packages.qa.debian.org/d/develock-el.html, but
> it doesn't say much.

It's downloadable at <ftp://ftp.jpl.org/pub/elisp/develock.el.gz> and is
the develock-el package in Debian and Ubuntu.

> Is it DVC policy to use that tool, or be compatible with it?
>
> 78 chars is pretty short; reminds me of working on VT100 terminals 20
> years ago!
>
> Let's fix the tool to be consistent with more modern equipment.

I think DVC policy ought to be such that we don't have lines beyond the
78th column.  My frames in X are both 80 characters wide, so that I can
fit them on screen and not deal with the unpleasantness of vertical
splitting to get my screen real estate back.  A lot of people still use
the console (with 80-columns being the default), because they can use it
with something like Gnome Terminal to get Xft-enabled fonts and
transparency.

Copying from the Elisp manual, node (elisp)Documentation Tips:

   * Format the documentation string so that it fits in an Emacs window
     on an 80-column screen.  It is a good idea for most lines to be no
     wider than 60 characters.  The first line should not be wider than
     67 characters or it will look bad in the output of `apropos'.

This applies to documentation strings, and is suggestive of code as
well.

-- 
       Michael Olson -- FSF Associate Member #652     |
 http://mwolson.org/ -- Jabber: mwolson_at_hcoop.net  |  /` |\ | | |
          Programmer -- Hobbies: Lisp, HCoop          | |_] | \| |_|
Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |

Attachment: pgpNXDMoBUJUA.pgp
Description: PGP signature

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to