Emacs auto-complete comments too

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Emacs auto-complete comments too
# 1  
Old 01-20-2014
Emacs auto-complete comments too

I am using emacs auto-complete. Auto completion works well, however text inside comments blocks is not auto completed. I want to auto complete when writing comments as well but cannot find a way to set it up yet.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell - Auto complete shell windows

*Sorry for my other post in French* Hi everyone! In my work I have to find how can I auto complete this type of windows (screenshot) in Shell with defined variables. http://opsi-fr.opensides.be/opsi-doc/stable/xhtml/fr/images/mysql-config-input-mask.png Thank you so much for replies! :) (1 Reply)
Discussion started by: devilsnake88
1 Replies

2. UNIX for Dummies Questions & Answers

How to use emacs? Also how to open existing emacs files with .cgi format?

Hi All, I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way.. How to use emacs editor? Also how to open existing emacs files with .cgi format? I have the following link :- http link i.e. url and path : /abc/xyz.dev/xyz/documents What... (7 Replies)
Discussion started by: swathi123
7 Replies

3. UNIX for Dummies Questions & Answers

Auto Complete variable names in KSH

Hi, I use KSH a lot. I wanted to know if I can auto-complete a Variable name in the environment. I know this is possible in tcsh. I use the vi mode to edit commands on command prompt. Any help would be much appreciated. Thanks..!! (4 Replies)
Discussion started by: grep_me
4 Replies

4. Shell Programming and Scripting

Sed script, changing all C-comments to C++-comments

I must write a script to change all C++ like comments: // this is a comment to this one /* this is a comment */ How to do it by sed? With file: #include <cstdio> using namespace std; //one // two int main() { printf("Example"); // three }//four the result should be: (2 Replies)
Discussion started by: black_hawk
2 Replies

5. UNIX for Dummies Questions & Answers

auto-complete in terminal

Dear friend i have intalled sun solaris in vmware (vertual machine) untill now every things are ok but i have proplem when i tray to use tap key in terminal for auto complete the terminal window prsent to me space only i tried many also in many profile it seem the same proplem also if i print... (3 Replies)
Discussion started by: Mohammed-syria
3 Replies

6. UNIX for Dummies Questions & Answers

BASH complete-filename & menu-complete together

Hi, Does anyone know how to make BASH provide a list of possible completions on the first tab, and then start cycling through the possibilites on the next tab? Right now this is what I have in my .bashrc: bind "set show-all-if-ambiguous on" bind \\C-o:menu-complete This allows... (0 Replies)
Discussion started by: Mithu
0 Replies

7. Shell Programming and Scripting

Custom auto-complete

Hello: I am using csh, and am a complete noob when it comes to shell scripting. I want the following: 1) Ignore case when doing auto-complete. 2) If there are multiple matches (example: I have files abc.txt abc.txt.1, abc.txt.2 and type abc<tab>), count the number of matches. If... (1 Reply)
Discussion started by: madiyaan
1 Replies

8. UNIX for Dummies Questions & Answers

Auto Complete

Hi ! Can anybody please give me any clue how to set on the Auto Complete option (auto complete paths by pressing escape) in unix ? Thanks! Pablo. (4 Replies)
Discussion started by: cordobapablo
4 Replies

9. UNIX Desktop Questions & Answers

Auto complete

How can I set up the profile for a use so when entering a eg first charachter of a file and then pressing the tab OS will complete the file name. Thanks in advance Tom (4 Replies)
Discussion started by: Tom_Zamani
4 Replies

10. UNIX for Advanced & Expert Users

Auto Complete under AIX

How can one setup auto complete under AIX when you type a path etc. by pressing a sequece of keys yu can complete the line. Any sugestions !!!! (7 Replies)
Discussion started by: truma1
7 Replies
Login or Register to Ask a Question
scsi_arq_status(9S)					    Data Structures for Drivers 				       scsi_arq_status(9S)

scsi_arq_status - SCSI auto request sense structure SYNOPSIS
#include <sys/scsi/scsi.h> INTERFACE LEVEL
Solaris DDI specific (Solaris DDI) DESCRIPTION
When auto request sense has been enabled using scsi_ifsetcap(9F) and the "auto-rqsense" capability, the target driver must allocate a sta- tus area in the SCSI packet structure for the auto request sense structure (see scsi_pkt(9S)). In the event of a check condition, the transport layer automatically executes a request sense command. This check ensures that the request sense information does not get lost. The auto request sense structure supplies the SCSI status of the original command, the transport information pertaining to the request sense command, and the request sense data. STRUCTURE MEMBERS
struct scsi_status sts_status; /* SCSI status */ struct scsi_status sts_rqpkt_status; /* SCSI status of request sense cmd */ uchar_t sts_rqpkt_reason; /* reason completion */ uchar_t sts_rqpkt_resid; /* residue */ uint_t sts_rqpkt_state; /* state of command */ uint_t sts_rqpkt_statistics; /* statistics */ struct scsi_extended_sense sts_sensedata; /* actual sense data */ sts_status is the SCSI status of the original command. If the status indicates a check condition, the transport layer might have performed an auto request sense command. sts_rqpkt_status is the SCSI status of the request sense command. sts_rqpkt_reason is the completion reason of the request sense command. If the reason is not CMD_CMPLT, then the request sense command did not complete normally. sts_rqpkt_resid is the residual count of the data transfer and indicates the number of data bytes that have not been transferred. The auto request sense command requests SENSE_LENGTH bytes. sts_rqpkt_state has bit positions representing the five most important statuses that a SCSI command can go obtain. sts_rqpkt_statistics maintains transport-related statistics of the request sense command. sts_sensedata contains the actual sense data if the request sense command completed normally. SEE ALSO
scsi_ifgetcap(9F), scsi_init_pkt(9F), scsi_extended_sense(9S), scsi_pkt(9S) Writing Device Drivers SunOS 5.10 30 Sep 1996 scsi_arq_status(9S)

Featured Tech Videos