Re: [gedit-list] limitd undos
- From: Nick Gravgaard <me nickgravgaard com>
- To: Adam Dingle <adam medovina org>, Paolo Borelli <pborelli katamail com>
- Cc: gedit-list gnome org
- Subject: Re: [gedit-list] limitd undos
- Date: Tue, 13 Aug 2013 23:42:06 +0100
Yes you're right, I am using gedit 3.4.1.
I'm not exactly sure what happened. I think I was manually merging lots
of code and so had probably been copying and pasting large pieces of
text. I do know that my undo history was very limited - certainly less
than 2000.
If I have the problem again I'll see if I can figure out what I can do
to reproduce it.
Thanks for your help,
Nick
On Sat, Aug 10, 2013, at 13:42, Adam Dingle wrote:
This is all slightly complicated by the fact that there are currently
two gsettings keys that reference the undo limit:
- undo-actions-limit (defaults to 25)
- max-undo-actions (defaults to 2000)
undo-actions-limit is no longer used in the code and is deprecated and
should be removed (see
https://bugzilla.gnome.org/show_bug.cgi?id=689407). Note that in
Nick's original email he said he was using Ubuntu 12.04, which has
gedit 3.4.1 (which is a couple of years old now). In the gedit 3.4.1
sources undo-actions-limit was already deprecated, but was still used
in one place in the code:
https://git.gnome.org/browse/gedit/tree/gedit/gedit-settings.c?id=3.4.1#n302
According to that code, undo-actions-limit would take effect if it ever
changed. I'm not sure whether that change signal might even fire on
startup (and I can't easily test that since I can't build gedit 3.4
since I'm running a much newer version of GNOME). If it would, that
might explain the behavior Nick was seeing.
In any case, it seems clear that the undo limit in the current gedit
defaults to 2000. Seems reasonable to me.
adam
On Sat, Aug 10, 2013 at 5:16 AM, Paolo Borelli <pborelli katamail com>
wrote:
50 definitely sounds like a very low limit... as Nacho showed in the
other mail, the default is 2000. Maybe you inherited this setting
from a really old gedit installation?
Paolo
On Sat, Aug 10, 2013 at 2:58 AM, Nick Gravgaard
<me nickgravgaard com> wrote:
Sorry Andy it wasn't meant to be bitchy.
I was just annoyed when I found Ctrl-Z didn't work 50 times into a
coding session. I just want to do stuff.
For why I got involved in the gedit source some time ago, see
http://nickgravgaard.com/elastictabstops/
Nick
On Sat, Aug 10, 2013, at 1:22, Andy Griggs wrote:
I use gedit and it is very configurable and quite underrated.
There are
other editors available that might suit your needs better - but
most will
have a limit of this sort by default. Posting your feature
request in
such
a bitchy way is off-putting at best. If you have "hacked on this
software", then make the change yourself and submit a patch.
You might want to read up on some guides about mailing list
etiquette. I
would be surprised if mine was the only comment related to RTFM.
The overall themes in this guide should be fairly simple to follow
and
are
recommended.
http://www.freebsd.org/doc/en/articles/mailing-list-faq/etiquette.html
Cheers!
On Fri, Aug 9, 2013 at 7:50 PM, Nick Gravgaard
<me nickgravgaard com>
wrote:
I want the software I use in my job every day to keep working.
I have hacked on this software in the past and I hope that I can
continue to use it every day without it getting worse.
Is that wrong?
On Sat, Aug 10, 2013, at 0:09, Andy Griggs wrote:
How abot RTFM and change it on your own. Problem solved.
http://www.openoffice.org/xml/xmerge/downloads/gedit
On Aug 9, 2013 6:49 PM, "Nick Gravgaard"
<me nickgravgaard com> wrote:
I was surprised to find that while using Ubuntu LTS 12.04 I
was using
an
instance of gedit that seemed to have a very small undo
limit. I don't
understand why anyone would ever limit this to such a small
amount
unless they were working on a machine from <20 years ago
Could someone please remove this limit (and the setting)?
Modern
machines have enough memory. The current setting will only
annoy people
in the middle of their work.
_______________________________________________
gedit-list mailing list
gedit-list gnome org
https://mail.gnome.org/mailman/listinfo/gedit-list
_______________________________________________
gedit-list mailing list
gedit-list gnome org
https://mail.gnome.org/mailman/listinfo/gedit-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]