GNU bug report logs -
#4941
hexl mode update
Previous Next
Reported by: Vivek Dasmohapatra <vivek <at> etla.org>
Date: Mon, 16 Nov 2009 21:50:05 UTC
Severity: wishlist
Tags: fixed, patch
Fixed in version 24.2
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4941 in the body.
You can then email your comments to 4941 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report stored
:
bug#4941
; Package
emacs
.
(Mon, 16 Nov 2009 21:50:05 GMT)
Full text and
rfc822 format available.
Message #3 received at quiet <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
Severity: wishlist
Tags: patch
[ Resent from
http://lists.gnu.org/archive/html/emacs-devel/2009-07/msg01028.html ]
On Thu, 16 Jul 2009, Stefan Monnier wrote:
>>> Now would be a good time to submit it,
>> Ok. Is there any particular branch/repo/etc you'd like a patch against?
>
> CVS trunk. Note that I haven't looked at your code yet. Please send it
> to emacs-devel <at> gnu.org.
Here it is. The user can select the "word size" hexl will use with defcustom
(it currently screws up if you change this size behind hexl's back, ie
after hexlifying a buffer but before unhexlifying it: this could be fixed
by saving the word size used in a a local variable in the hexl buffer,
let me know if you think this is important enough to add). Other than that,
the hexl code doesn't seem to have changed since I last updated the patch
from emacs 22 to emacs 23.
The word-size could also be chosen at invocation time via a prefix arg, but
I have not done this yet either: Again, let me know if you think it's
worth adding.
I originally prepared this patch for a friend who was debugging something
and needed other word sizes: Upon investigation I discovered that the
hexl binary had support for the word sizes 8, 16, 32 and 64 bits but the
hexl mode code only supported one of those - hence this patch.
[hexl.variable-word-size.2009-07-21.patch (text/x-diff, attachment)]
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4941
; Package
emacs
.
(Wed, 16 Dec 2009 13:25:11 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Vivek Dasmohapatra <vivek <at> etla.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 16 Dec 2009 13:25:12 GMT)
Full text and
rfc822 format available.
Message #8 received at 4941 <at> emacsbugs.donarmstrong.com (full text, mbox):
So, is anyone going to look at this? Vaguely encouraging noises were made
the first time I submitted it, but that was many months (possibly even a
few years) ago now, and no-one seems to have taken any interest in it since:
I don't mind if it's not wanted, but I'd rather know one way or another.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#4941
; Package
emacs
.
(Thu, 24 Dec 2009 03:58:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 4941 <at> debbugs.gnu.org (full text, mbox):
> So, is anyone going to look at this? Vaguely encouraging noises were made
> the first time I submitted it, but that was many months (possibly even a few
> years) ago now, and no-one seems to have taken any interest in it since:
> I don't mind if it's not wanted, but I'd rather know one way or another.
Sorry, I think this should be installed, but since we're already in
feature freeze again, we can't do it now. As soon as we open up the
Emacs-24 branch (which should be real soon now, really), please come
back with a vengeance. Say around end of January.
Stefan
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#4941
; Package
emacs
.
(Thu, 24 Dec 2009 18:39:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 4941 <at> debbugs.gnu.org (full text, mbox):
Ok, I'll keep an eye out for the 24 branch.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#4941
; Package
emacs
.
(Wed, 11 Apr 2012 13:59:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 4941 <at> debbugs.gnu.org (full text, mbox):
Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:
>> So, is anyone going to look at this? Vaguely encouraging noises were made
>> the first time I submitted it, but that was many months (possibly even a few
>> years) ago now, and no-one seems to have taken any interest in it since:
>> I don't mind if it's not wanted, but I'd rather know one way or another.
>
> Sorry, I think this should be installed, but since we're already in
> feature freeze again, we can't do it now. As soon as we open up the
> Emacs-24 branch (which should be real soon now, really), please come
> back with a vengeance. Say around end of January.
Vengeance apparently kinda slow, but perhaps now is the time?
The patch still mostly applies cleanly (one block fails), but I'm not a
hexl user, so I can't really test the result with great confidence.
Vivek, would it be possible for you to re-spin the patch (and test), and
then I can apply it.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#4941
; Package
emacs
.
(Wed, 11 Apr 2012 15:05:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 4941 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Wed, 11 Apr 2012, Lars Magne Ingebrigtsen wrote:
> Vengeance apparently kinda slow, but perhaps now is the time?
>
> The patch still mostly applies cleanly (one block fails), but I'm not a
> hexl user, so I can't really test the result with great confidence.
>
> Vivek, would it be possible for you to re-spin the patch (and test), and
> then I can apply it.
I've done some preliminary testing, seems to work (updated patch
is against master, but most of the relevant changes seem to have
happened during the emacs 23.x time frame anyway)
It's currently controlled by a defcustom, but maybe it should be
a prefix arg to hexl-find-file or hexl-mode instead? I don't
use hexl a huge amount myself so I'm not sure what its users
would prefer.
[0001-Allow-hexl-mode-to-use-8-16-32-or-64-bit-hexl-word-s.patch (text/x-diff, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#4941
; Package
emacs
.
(Thu, 12 Apr 2012 16:02:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 4941 <at> debbugs.gnu.org (full text, mbox):
Vivek Dasmohapatra <vivek <at> etla.org> writes:
> It's currently controlled by a defcustom, but maybe it should be
> a prefix arg to hexl-find-file or hexl-mode instead? I don't
> use hexl a huge amount myself so I'm not sure what its users
> would prefer.
`-mode' functions don't usually take additional arguments to control
setup, so I think having a defcustom here is fine. I've applied your
patch to the Emacs trunk.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Added tag(s) fixed.
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 12 Apr 2012 16:02:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 24.2, send any further explanations to
4941 <at> debbugs.gnu.org and Vivek Dasmohapatra <vivek <at> etla.org>
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 12 Apr 2012 16:02:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#4941
; Package
emacs
.
(Thu, 12 Apr 2012 16:04:02 GMT)
Full text and
rfc822 format available.
Message #30 received at 4941 <at> debbugs.gnu.org (full text, mbox):
> `-mode' functions don't usually take additional arguments to control
> setup, so I think having a defcustom here is fine. I've applied your
> patch to the Emacs trunk.
One of the people I asked to test found a bug - as soon as he's verified the
fix, I'll post a supplementary patch.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#4941
; Package
emacs
.
(Fri, 13 Apr 2012 00:42:02 GMT)
Full text and
rfc822 format available.
Message #33 received at 4941 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
> `-mode' functions don't usually take additional arguments to control
> setup, so I think having a defcustom here is fine. I've applied your
> patch to the Emacs trunk.
As I noted earlier, a user found a bug in the display code when
editing files in hexl - the hex portion of the display would get
scrambled when the word size was <> 16 bits.
The attached patch should fix that problem.
[hexl-editing.patch (text/x-diff, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#4941
; Package
emacs
.
(Sat, 14 Apr 2012 11:10:02 GMT)
Full text and
rfc822 format available.
Message #36 received at 4941 <at> debbugs.gnu.org (full text, mbox):
Vivek Dasmohapatra <vivek <at> etla.org> writes:
> As I noted earlier, a user found a bug in the display code when
> editing files in hexl - the hex portion of the display would get
> scrambled when the word size was <> 16 bits.
>
> The attached patch should fix that problem.
Thanks; applied.
--
(domestic pets only, the antidote for overdose, milk.)
http://lars.ingebrigtsen.no * Sent from my Rome
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 12 May 2012 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 5 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.