323 reputation
117
bio website seanallred.com
location Maryland
age 21
visits member for 2 years, 3 months
seen Dec 20 at 3:58

A computer scientist at heart with a conviction for deduction.

I'm a poor mathematician but pretty decent with TeX. Let me return the favor!

TeX.SE rules.

Check out my blog over on @GitHub! It has (or will have) a lot of good resources:

  • StackExchange markdown reference (to link; things like explicit syntax highlighting and a short rundown of markdown)
  • Recommended TeX resources and editors

Insanely curious, slightly snarky, and a little absent-minded.

Recommended resources:

Recommended editors:


Dec
2
comment Hi My Lenovo desktop is failing music playback
Welcome to SU. I would update your question with more specifics -- perhaps detailed instructions on how to recreate your issue and how it could be fixed. I would also re-word your question to be more concrete; instead of "Please offer advice", perhaps you could say something like "Why does solution X fix the issue and how can I make the effects of X permanent?"
Oct
20
comment Defining faces for syntax highlighting in Emacs
@lawlist The if is evaluated as one would immediately expect though; I simply use it as a quick-toggle construction. That is, it works when the test is t.
Oct
20
comment Defining faces for syntax highlighting in Emacs
@lawlist Well, I did include the [emacs] tag :( font-lock isn't one of them, as I recall
Oct
20
comment Defining faces for syntax highlighting in Emacs
@lawlist Good to know, thanks. I don't think that'd have an impact in this case though.
Oct
20
comment Defining faces for syntax highlighting in Emacs
@Downvoter, have the common courtesy to leave a suggestion as to how to make this question better. This is on-topic for this site.
Oct
20
comment Defining faces for syntax highlighting in Emacs
In fact, I just noticed that when using nil, all font lock fails.
Oct
17
comment Adding syntax highlighting for a comment section in Emacs
Related, before I ask another Q (in case it's another silly mistake like this...) - is there any reason it should work for this face? gist.github.com/vermiculus/6b2e6aad3c2ec14dc20d @Drew Ah, I suppose there's no (easy) way then to mark comment-only syntax.
Oct
17
comment Adding syntax highlighting for a comment section in Emacs
Thanks again. I did try to find a reference for the syntax of the regular expression here; since \\< isn't standard, there must be some documentation on it. I couldn't find it anywhere in the manual, however -- do you know where I should look?
Oct
17
comment Adding syntax highlighting for a comment section in Emacs
I thought for sure it was the comment-start in the syntax table. I'll try this asap, thanks
Oct
13
comment How can I properly interpret M4's $# variable without starting comment syntax in emacs?
@lawlist That's a partial fix: (modify-syntax-entry ?# "@" m4-mode-syntax-table) will work correctly for /^#.*$/, but will not work for /.*#.*$/ (as far as actual comment syntax is concerned).
Aug
8
comment How can I ask Org to copy CSS into the header?
might be of help: definitelyaplug.b0.cx/post/…
Jul
23
comment How many keyboard shortcuts are in Emacs?
There is simply no way to count them reliably. It's not hard to imagine that any editor worth professional usage will support adding shortcuts.
Jul
23
comment How can I fold arbitrary tags with nxml-mode?
Try it out with transform.xsl --- particularly the xsl:for-each on line 11 (but interestingly not the xsl:for-each on line 43).
Jul
23
comment How can I customize the background color for the active window in emacs?
@lawlist I discovered the active modeline group a little over a week ago---it's very helpful, but perhaps I'm just extremely unobservant :)
Jul
23
comment How can I fold arbitrary tags with nxml-mode?
@lawlist The problem with that—near as I can figure with classical regular expressions—is that regular expressions cannot really handle nested things. That said, xsl:.* should cover everything I would like nested, although the ability to define a list of such tags to fold would be ideal.
Jul
23
comment Printer losing image details when printing
Hey lookie here—a dead link.
Feb
26
comment Lisp error: (error “Lisp nesting exceeds `max-lisp-eval-depth'”) when using cl- functions
I just wanted to say thank you for this answer—it was still pretty instrumental in resolving :) I only accepted the other answer because it gave a why (and because I never would have thought I needed to re-install magit for this). I regret that I have but one upvote to give!
Feb
26
comment Lisp error: (error “Lisp nesting exceeds `max-lisp-eval-depth'”) when using cl- functions
Deleting both cl-lib and magit, closing emacs, re-opening and re-installing magit (only) did the trick. Thanks!
Feb
16
comment How can I simulate Make's targets within a Windows batch file?
@jdigital the point is that I could do it with a really nasty if–then sequence, comparing the first command-line argument against some constant. My question is specifically asking for a cleaner, idiomatic syntax.
Feb
16
comment How can I simulate Make's targets within a Windows batch file?
@jdigital I can't assume it will be installed; I'm distributing a couple LaTeX packages to my classmates---some of whom are computer-mostly-frightened math majors. It will be all I can do to get them to open up the terminal; installing Cygwin/MinGW/MSYS is unfortunately out-of-the-question.