258 reputation
28
bio website
location Sweden
age 30
visits member for 1 year, 11 months
seen yesterday

Oct
27
awarded  Scholar
Oct
27
accepted Window display table and buffer display table conflict in Emacs
Oct
27
comment Window display table and buffer display table conflict in Emacs
Five seconds after I wrote the last comment I realized that I could just paste the code into *scratch* and C-j-run it to test. (No need to edit any files.) The results: It works a charm! Thank you! (=> Answer accepted) However, I'd still like to know if you get the same results as I from my problem-recipe (before patching the code).
Oct
27
comment Window display table and buffer display table conflict in Emacs
I edited the question to add a more fleshed-out recipe for showing the problem. I'd be interested whether you get the same results. --- Also, is there a way to shadow a system installed .el-file with a user-supplied one (I'm really just a “user”, not a lisp-programmer...)? I don't really feel like messing with the files installed by deb-packages. (That's why I did the problem-recipe before testing your answer...)
Oct
27
revised Window display table and buffer display table conflict in Emacs
Clarification of the problem.
Oct
25
comment Window display table and buffer display table conflict in Emacs
I just read this answer (I have not been around this part of the Internet for a while...). I will check this when I get round to it, perhaps in a few days or so. I'll get back with an ‘Answer approved’ (if it works), or comments (otherwise), as appropriate, later.
Jun
26
awarded  Critic
Jun
23
awarded  Commentator
Jun
23
revised What is this seemingly base64 data set by setfattr?
Removing the prompts from the examples.
Jun
23
comment What is this seemingly base64 data set by setfattr?
If anyone wants to edit this answer to just include the “answer” bit at the end, it’s OK by me. ... I had written the whole “forensics” bit before I got to the “read the man-page and find the answer” bit, so I didn’t just want to throw it away right away... It also shows some methods to how to find an answer when you have a “feeling” of what it should be, but it doesn’t match exactly...
Jun
23
answered What is this seemingly base64 data set by setfattr?
Jun
23
comment Is there any harm in using variables that aren't set?
In my own convenience (bash)-scripts I do, for example, mplayer "${MPEXTRAOPTS[@]}" "$CALCULATED_FILENAME" and depend on that the "${MPEXTRAOPTS[@]}" expand to nothing (not even an empty argument) if MPEXTRAOPTS is unset. Then if I need some extra arguments to be passed, I set the array, otherwise I just let it be unset. Since scalar variables are auto-promoted (can be used as) arrays with only element [0] set, if I need just one extra argument, I would just set the variable in a scalar fashion, like MPEXTRAARGS=-fs.
Jun
22
comment What is the purpose of the lost+found folder in Linux and Unix?
@syntaxerror: Good to hear you say that about the annoyances of find: `./lost+found': Permission denied. It bugs me from time to time too...
Jun
21
comment Do parentheses really put the command in a subshell?
This is to be contrasted to When a simple command other than a builtin or shell function is to be executed, it is invoked in a separate execution environment that consists of the following., which contains the item: · shell variables and functions marked for export, along with variables exported for the command, passed in the environment (from the same man bash section) which explains why an echo $x-script prints nothing if x is not exported.
Jun
20
awarded  Yearling
Jun
20
revised Matrix Structure for screen rotation
Cleanup
Jun
20
answered Matrix Structure for screen rotation
Jun
20
comment Matrix Structure for screen rotation
Wouldn't it be [[0 1 0] [-1 0 1] [0 0 1]]. I.e. x and y are still swapped but it changes which of them that is inverted. The inverted coordinate has -1 in the upper-left 2x2 and 1 to the right, while the non-inverted coordinate have 1 in the upper-left 2x2 and 0 to the right.
Jun
19
comment Open Character Device without creating a Device Node
@jecxjo Do you know the mechanism the offending program uses for enumerating the devices? Does it just check everything in /dev or does it use some hook in udev or somewhere else (in the kernel, perhaps) or does it have some other way?
Jun
19
answered Open Character Device without creating a Device Node