Issue404

Title grml-etc-core::/etc/skel/.vimrc: when editing mail set notitle
Priority feature Status deferred
Superseder Nosy List ft, mika, z3ttacht
Assigned To Topics

Created on 2008-02-13.14:33:41 by z3ttacht, last changed 2008-02-13.21:38:58 by z3ttacht.

Files
File name Uploaded Type Edit Remove
grml-etc-core_vimrc-longoptions.diff z3ttacht, 2008-02-13.14:48:46 text/x-diff
grml-etc-core_vimrc-notitle.diff z3ttacht, 2008-02-13.15:37:39 text/x-diff
grml-etc-core_vimrc-notitle_do-not-use.diff z3ttacht, 2008-02-13.14:38:04 text/x-diff
Messages
msg1181 (view) Author: z3ttacht Date: 2008-02-13.15:48:20
* Michael Prokop <bts@bts.grml.org> [2008-02-13 15:57]:
> > Some settings are done twice. First in /etc/vim/vimrc and again in
> > /etc/skel/.vimrc. Is that intended for e.g. user who just get .vimrc
> > on another distribution?
> No, we should sort out what should be placed in the global and what
> in user's file.
So, 'important' settings should go into /etc/vim/vimrc, I guess. But
deciding which ones are 'important' and which not, may be a though
call.

> The patch looks fine to me, but I'll adjust the:
> [...]
> => too many people contributed to the vimrc already and I don't want
> to flood the header with several names. My name is there just
> because of historical reasons (I often forget to remove it from my
> default header when the file is being team-maintained, sorry),
> should be dropped as well of course.
That was just my function vimrc_grmlHeader[1] speaking. Normally I
check for such not necessary changes. Sorry. I guess, I should rewrite
that function. .oO( I'm so lazy!!!1! )
Didn't mean to cause unnecessary work.


                   ---------- Footnotes ----------

[1] http://bts.grml.org/grml/issue314
msg1179 (view) Author: mika Date: 2008-02-13.14:57:05
* Alexander Steinböck <bts@bts.grml.org> [20080213 15:52]:

> As I was working on /etc/skel/.vimrc, I took the liberty to make this
> config a little more readable.
> I provided the long forms of the mentioned settings plus a short
> description - because it was done in /etc/vim/vimrc as well - and
> integreated foldings.

Great.

> A question though.
> Some settings are done twice. First in /etc/vim/vimrc and again in
> /etc/skel/.vimrc. Is that intended for e.g. user who just get .vimrc
> on another distribution?

No, we should sort out what should be placed in the global and what
in user's file.

The patch looks fine to me, but I'll adjust the:

> -" Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
> +" Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>,
> +"                Alexander Steinb�<z3ttacht@grml.org>

=> too many people contributed to the vimrc already and I don't want
to flood the header with several names. My name is there just
because of historical reasons (I often forget to remove it from my
default header when the file is being team-maintained, sorry),
should be dropped as well of course.

thx && regards,
-mika-
msg1178 (view) Author: z3ttacht Date: 2008-02-13.14:48:46
As I was working on /etc/skel/.vimrc, I took the liberty to make this
config a little more readable.
I provided the long forms of the mentioned settings plus a short
description - because it was done in /etc/vim/vimrc as well - and
integreated foldings.

A question though.
Some settings are done twice. First in /etc/vim/vimrc and again in
/etc/skel/.vimrc. Is that intended for e.g. user who just get .vimrc
on another distribution?
msg1177 (view) Author: z3ttacht Date: 2008-02-13.14:42:53
* Alexander Steinböck <bts@bts.grml.org> [2008-02-13 15:33]:
> Prevent setting the title for e.g. screen's hardstatus by vim - as
> recently implemented[1] - when editing mails.
Thanks go to ft (Frank Terbeck) for pointing me to `set notitle'.
msg1176 (view) Author: z3ttacht Date: 2008-02-13.14:33:40
Prevent setting the title for e.g. screen's hardstatus by vim - as
recently implemented[1] - when editing mails. Otherwise the window
name may get very long and may screw up screen's hardstatus line. On
the other hand renaming the window to `&shell'[1] after editing the
mail is prevented.

                   ---------- Footnotes ----------

[1] http://hg.grml.org/grml-etc-core/rev/acfecae478bc
History
Date User Action Args
2008-02-13 21:38:58z3ttachtsetstatus: chatting -> deferred
nosy: mika, ft, z3ttacht
2008-02-13 15:48:21z3ttachtsetnosy: mika, ft, z3ttacht
messages: + msg1181
2008-02-13 15:37:39z3ttachtsetfiles: + grml-etc-core_vimrc-notitle.diff
nosy: mika, ft, z3ttacht
2008-02-13 14:57:05mikasetnosy: mika, ft, z3ttacht
messages: + msg1179
2008-02-13 14:48:47z3ttachtsetfiles: + grml-etc-core_vimrc-longoptions.diff
nosy: mika, ft, z3ttacht
messages: + msg1178
2008-02-13 14:42:54z3ttachtsetstatus: unread -> chatting
nosy: mika, ft, z3ttacht
messages: + msg1177
2008-02-13 14:38:30z3ttachtsetfiles: - grml-etc-core_vimrc-notitle.diff
nosy: mika, ft, z3ttacht
2008-02-13 14:38:04z3ttachtsetfiles: + grml-etc-core_vimrc-notitle_do-not-use.diff
nosy: mika, ft, z3ttacht
2008-02-13 14:33:41z3ttachtcreate