From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Shell scripting mode Date: Thu, 10 Oct 2013 13:56:25 -0400 Message-ID: References: <87zjqi6by2.fsf@alumnos.upm.es> <87mwmhp881.fsf@alumnos.upm.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1381427834 10242 80.91.229.3 (10 Oct 2013 17:57:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Oct 2013 17:57:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 10 19:57:17 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VUKU8-0003Gb-9L for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Oct 2013 19:57:16 +0200 Original-Received: from localhost ([::1]:49584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUKU7-0003Z5-V0 for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Oct 2013 13:57:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUKTo-0003Yq-HX for help-gnu-emacs@gnu.org; Thu, 10 Oct 2013 13:57:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUKTa-0008BD-Ne for help-gnu-emacs@gnu.org; Thu, 10 Oct 2013 13:56:56 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:60449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUKTa-000894-Gr for help-gnu-emacs@gnu.org; Thu, 10 Oct 2013 13:56:42 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VUKTX-0002vV-1j for help-gnu-emacs@gnu.org; Thu, 10 Oct 2013 19:56:39 +0200 Original-Received: from 76-10-183-132.dsl.teksavvy.com ([76.10.183.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Oct 2013 19:56:39 +0200 Original-Received: from monnier by 76-10-183-132.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Oct 2013 19:56:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 46 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 76-10-183-132.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:1ee+jz9L74pyFNtphzn5/NqRCN8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93925 Archived-At: > This is a short wishlist I've compiled that pretty much sums up > everything I was looking for when I wrote the post: > - Code completion of shell bultins and previously defined functions > (I guess this could be done by writing a wordlist for autocomplete mode) That would be nice, indeed. Patches welcome. > - Navigation: imenu, buffer definitions, etags, gtags? > (I'm wondering whether etags has shell scripting support, I'll > look this up myself) AFAIK there is already imenu support. Patches for etags support would be welcome. > - Flymake for shell > (There seems to be a mode for this on elpa repositories) Not sure how this would work, but would be nice, indeed. > - Interaction with lower process > (It'd be awesome if I could send arbitrary regions into the > shell for immediate execution) There's M-x sh-show-shell RET and M-x sh-send-line-or-region-and-step RET > - Online Documentation of shell builtins > (I guess the best way is turning to woman and reading the > matching section) Support for info-lookup (which would hence be used via C-h S) would be welcome, indeed. Should be pretty easy to do. Patches welcome. > - Yassnippet library > (The sh scripting mode that ships with emacs has predefined > functions for skeletons of common constructs, but I think this > is unnecessary if you put it all into a yasnipet mode directory) The same goes the other way: the YAsnippet snippets are made unnecessary by the skeletons provided. Some people prefer one, others prefer the other, but fundamentally they're basically the same thing. So, please tell us what *behavior* (rather than underlying library) you'd like to see, and maybe you can get that from the provided skeletons. Stefan