Next: Completion, Previous: Indentation, Up: Top
fill-column
.
The command does the right thing for indented code and PHP
comments including Docblock comments.
fill-column
to n when using the
M-q command (fill-paragraph
).
c-mark-function
). Puts
the mark at the end and of the function and the point at the
beginning. Useful if you want to kill the region with
C-w or M-w, or indent the region with
C-M-\ or C-x TAB (See Indentation.).
c-mark-function
), except place the
mark at the end of the function even if it's not at the
top-level. With functions that are methods defined in a
class, they may be indented and not top-level functions,
however this command will only mark the current function.
The traditional commands for narrowing to a region in Emacs1 are supported in PHP mode. The following commands are notable to mention for working with PHP or are extensions expressly provided PHP mode.
narrow-to-defun
). This will narrow to the function
as identified to the current function, even if it is nested
in an object or another function. The logic to narrow the
function is the same as the beginning-of-defun
and
end-of-defun
commands – see Motion, and the
mark-defun
command – see above.
widen
).