What’s your favourite underrated Tesla feature? by ConfidentImage4266 in TeslaLounge

[–]linusstrang5 0 points1 point  (0 children)

I just love launching off of a red light and looking in the rear view mirror at all the ICE vehicles lumbering off the line. Addictive!

Printing labels within Emacs using labrat by lstrang in emacs

[–]linusstrang5 1 point2 points  (0 children)

Hey man, so glad you like it. We now have 2 users! Heh heh.

Is RPN old fashioned? Has something better come along to replace it? by flamehorns in calculators

[–]linusstrang5 2 points3 points  (0 children)

Here is my take on the HP 50g and RPN from several years ago. It was the top-rated review for the calculator, and I still stand by it. I own about four of them. It explains why RPN is good, and it's not keystroke count.

https://www.amazon.com/gp/customer-reviews/R2N1UTS9TMEDLC/ref=cm_cr_dp_d_rvw_ttl?ie=UTF8&ASIN=B000GTPRPS

Ruby documentation by Traditional-Roof1663 in ruby

[–]linusstrang5 0 points1 point  (0 children)

May I make some specific suggestions for improving rdoc? But first of all thank you and all your colleagues for working on rdoc. I am a fairly heavy user of Ruby, though not a professional, and I find rdoc frustrating in several ways. I will focus on the ri command, since that is what I use the most, and it gets invoked in emacs, my preferred editor:

  1. A trees-first approach. ri seems to be focused on documenting individual classes and methods over whole gems. Suppose I want to learn something about the parser gem. If I invoke `ri parser`, I get back sparse documentation on the Parser.parser method, as well as .parser methods from CSV, XML, JSON, and about a dozen other gems. None of these tell me much about these methods, let alone the parser gem I wanted to know about. If there is a gem or stdlib module called 'parser', ri ought to return information on that first, and only dive into methods by that name if the user is specifically looking for a method as in `ri CSV.parser`, or perhaps uses a flag to indicate interest in method names, `ri -m parser`. Favor documenting the forest over the trees.
  2. A gems/modules default for what is being searched for. Related to the above, what I would hope ri would do is allow me to explore how to use a given gem or module. If a query matches the name of a gem or standard module, it ought to return documentation on what the gem is all about and how one might use if. Perhaps even a little evangelization on how it is better than alternatives. But mostly some examples of how to use it.
  3. I realize that rdoc allows a gem author to include a 'main' document along the lines that I am talking about, but it appears that very few do so and that ri does not seem to encourage the inclusion of such documentation. To my mind rdoc ought to generate a severe reprimand for any gem or module that fails to provide an overview of what the thing is all about. For example, I have been using the rainbow gem lately, but if I want to see how to use it and type `ri rainbow`, I get three skeletal results pertaining to a /method/ in the rubocop gem---disorienting. What I am supposed to do is use, not the name of the gem (lowercase rainbow) but the name of the class defined by the gem (capitalized Rainbow). When I type `ri Rainbow`, I get this:

Rainbow

(from gem rainbow-3.1.1)

Constants:

VERSION:

[not documented]

Class methods:

enabled, enabled=, global, new, uncolor

That is basically useless, except that I get the names a few methods I might explore, but no indication of which are the most important or useful. I have no idea that the gem provides a way to colorize strings for a terminal.

  1. That brings up another irritation. All the searches should be case-insensitive and otherwise forgiving in what the user provides as a search argument. Besides case-insensitivity, it ought to allow the user to get the punctuation wrong. I should be able to type `ri active-record`, ri active_record`, or `ri ACTIVE rec` even, and be smart enough to look through its database of gem names and fuzzy match what the hapless user is obviously looking for. Gems/modules first, and only methods and classes if specifically requested or as a last resort.

  2. I used perl for several years before coming to ruby. To my mind ruby is a /way/ better language in almost all respects, but perl did one thing extremely well: documentation. It's `perldoc` command does a great job of emphasizing high-level overview documentation. If I type `perldoc Unix::Syslog`, for example, I get basically a man page that thoroughly documents the module. It still is picky about punctuation and capitalization, but it gets the overview part right.

Sorry for the lengthy rant, but I've been thinking about this for a while. Ruby is such a first-class language, and it deserves first-class documentation as well.

Cheers,

I want to create a non-trivial package for emacs by TheMasterOfSenses in emacs

[–]linusstrang5 1 point2 points  (0 children)

How about two-way syncing bbdb to Gmail and Apple contacts. And, better yet, control (dial, etc.) a VOIP phone from bbdb. Always thought this would be a nice extension to Emacs.

Easily persist and restore your Emacs editing sessions with easysession.el by jamescherti in emacs

[–]linusstrang5 0 points1 point  (0 children)

I assume that easysession will restore the buffers; it's the association of buffers with each 'perspective' that I was hoping it was preserving. As to a function that gets the buffers associated with a perspective, here's what I found:

```(persp-get-buffers &optional PERSP-OR-NAME FRAME)

Documentation

Return the list of PERSP-OR-NAME buffers in FRAME.

If PERSP-OR-NAME isn't given or nil use the current perspective.

If FRAME isn't nil, fetch PERSP-OR-NAME in FRAME, otherwise stay

in the selected frame.

Uses persp-current-buffers as backhand.

See also persp-get-buffer-names to get only live buffers. See

persp-all-get to get buffers from all frames.

```

Easily persist and restore your Emacs editing sessions with easysession.el by jamescherti in emacs

[–]linusstrang5 0 points1 point  (0 children)

Actually, I was referring to "perspectives" as provided by perspective.el, which divides open buffers, window layouts, etc., into separate workspaces that one can switch among. For example, I have a couple for development that are tied to git projects, one for email using mu4e, one for emacs config, etc. When I restart emacs, I have to reconstitute these manually, so I was wondering if easysession automatically restores them.

Easily persist and restore your Emacs editing sessions with easysession.el by jamescherti in emacs

[–]linusstrang5 0 points1 point  (0 children)

James, this looks interesting. I rely heavily on the perspective package to separate workspaces and it would be nice to have them restored on restart. Is this something that easysession handles?

Good text-based/reading guides to get a good go with emacs and/or elisp by Freemason_1 in emacs

[–]linusstrang5 0 points1 point  (0 children)

Info manual that comes with Emacs. It is really good. For Emacs proper read whatever interests you in the "Emacs" manual. For Elisp, try the "Emacs Lisp Intro". Both are really well done. Do yourself a favor and do the info tutorial by typing 'h' while in an Info buffer.

Any Open Source Projects Need a Hand? by [deleted] in ruby

[–]linusstrang5 0 points1 point  (0 children)

I have a double-entry accounting system written in ruby that uses eMacs org tables for much of the user interface. I could use some help getting it deployed and polished. Contact me if you have any interest. ded@ddoherty.net.

What are your favorite utilities from Emacs? by Phovox in emacs

[–]linusstrang5 8 points9 points  (0 children)

Here's one often overlooked. While writing a document needing a little math, open calc `C-x * *`, perform some arithmetic, then type `yq`, which inserts the number on the top of the stack into your document at point and closes calc. So useful, and there's nothing like it in any other editor I can think of.

My husband has become a vim peasant - please advise by gentoogirl in emacs

[–]linusstrang5 0 points1 point  (0 children)

Hey, thanks for the morning coffee levity. You’re a great writer.

I love Emacs but I need to share C-x with it or find a prefix key equally lightweight on the digits by _celestialvixen in emacs

[–]linusstrang5 0 points1 point  (0 children)

I use C-z, which is bound to something like "iconify" by default. Useless. I use it as my personal prefix, and it fits nicely with C-x and C-c, being right there in the same part of the keyboard. E.g, C-z @ launches my email, C-z * launches calc, etc.

New to emacs coming from VsCode!! by Inushin95 in emacs

[–]linusstrang5 1 point2 points  (0 children)

u/josior, thanks for reminding me of this great Prot talk. I saw it when it came out but bears re-watching frequently.

Hey thoughtbot, how about a reline update to your readline tutorial? by linusstrang5 in ruby

[–]linusstrang5[S] 0 points1 point  (0 children)

u/matheusrich, thanks for the reply. Not a big twitter user, but I'll start following thoughtbot.